#CB6DFC#CB6DFC

#CB6DFC is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 70.0% C 0.215 H 312.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CB6DFC
RGBrgb(203, 109, 252)
HSLhsl(279, 96%, 71%)
HSVhsv(279, 57%, 99%)
CMYKcmyk(19.4%, 56.7%, 0%, 1.2%)
CIE-LABlab(62.22, 60.08, -56.57)
CIE-LCHlch(62.22, 82.52, 316.72°)
OKLaboklab(69.99% 0.1453 -0.1586)
OKLCHoklch(69.99% 0.215 312.5)
XYZxyz(47.6648, 30.6633, 95.4843)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DFC #9EFC6D
analogous
#836DFC #CB6DFC #FC6DE5
triadic
#CB6DFC #FCCB6D #6DFCCB
tetradic
#CB6DFC #FC836D #9EFC6D #6DE5FC
square
#CB6DFC #FC836D #9EFC6D #6DE5FC
split-complementary
#CB6DFC #E5FC6D #6DFC83
monochromatic
#9B05EA #B631FB #CB6DFC #E0A9FD #F4E1FE

Accessibility & contrast

On white

2.94
#CB6DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CB6DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6DFC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DFC#FFFFFF#000000##000000
##CB6DFC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#C686AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb6dfc;
/* rgb */ color: rgb(203, 109, 252);
/* oklch */ color: oklch(70.0% 0.215 312.5);
Tailwind
colors: {
  custom: {
    50: '#de9bfe',
    500: '#cb6dfc',
    950: '#000000',
  },
}
SCSS
$custom: #cb6dfc;
$custom-light: #de9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6dfc",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 279.441,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.21513,
    "h": 312.5
  },
  "luminance": 0.30662
}

Semantic roles & 50–950 ramp

primary
#CB6DFC
secondary
#DCF6CF
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CB6DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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