#C17BFE#C17BFE

#C17BFE is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.193 H 306.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C17BFE
RGBrgb(193, 123, 254)
HSLhsl(272, 98%, 74%)
HSVhsv(272, 52%, 100%)
CMYKcmyk(24%, 51.6%, 0%, 0.4%)
CIE-LABlab(63.88, 50.95, -55.09)
CIE-LCHlch(63.88, 75.04, 312.76°)
OKLaboklab(70.99% 0.1158 -0.1546)
OKLCHoklch(70.99% 0.193 306.8)
XYZxyz(46.9610, 32.6596, 97.5767)
Luminance0.3266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C17BFE #B8FE7B
analogous
#807BFE #C17BFE #FE7BFA
triadic
#C17BFE #FEC17B #7BFEC1
tetradic
#C17BFE #FE807B #B8FE7B #7BFAFE
square
#C17BFE #FE807B #B8FE7B #7BFAFE
split-complementary
#C17BFE #FAFE7B #7BFE80
monochromatic
#8802FD #A43EFE #C17BFE #DEB8FE #F1E1FF

Accessibility & contrast

On white

2.79
#C17BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C17BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C17BFE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C17BFE#FFFFFF#000000##000000
##C17BFE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#699BFB
Tritanopia (blue-blind)
#B892B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c17bfe;
/* rgb */ color: rgb(193, 123, 254);
/* oklch */ color: oklch(71.0% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#d7a3ff',
    500: '#c17bfe',
    950: '#000000',
  },
}
SCSS
$custom: #c17bfe;
$custom-light: #d7a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c17bfe",
  "rgb": {
    "r": 193,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 272.061,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70993,
    "c": 0.19316,
    "h": 306.8
  },
  "luminance": 0.32659
}

Semantic roles & 50–950 ramp

primary
#C17BFE
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C17BFE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C17BFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva