#CB6DF2#CB6DF2

#CB6DF2 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.4% C 0.205 H 315.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#CB6DF2
RGBrgb(203, 109, 242)
HSLhsl(282, 84%, 69%)
HSVhsv(282, 55%, 95%)
CMYKcmyk(16.1%, 55%, 0%, 5.1%)
CIE-LABlab(61.69, 58.02, -51.89)
CIE-LCHlch(61.69, 77.84, 318.19°)
OKLaboklab(69.43% 0.1449 -0.145)
OKLCHoklch(69.43% 0.205 315)
XYZxyz(46.1217, 30.0460, 87.3571)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DF2 #94F26D
analogous
#896DF2 #CB6DF2 #F26DD7
triadic
#CB6DF2 #F2CB6D #6DF2CB
tetradic
#CB6DF2 #F2896D #94F26D #6DD7F2
square
#CB6DF2 #F2896D #94F26D #6DD7F2
split-complementary
#CB6DF2 #D7F26D #6DF289
monochromatic
#9A13D2 #B735ED #CB6DF2 #DFA5F7 #F3DDFC

Accessibility & contrast

On white

3.00
#CB6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#CB6DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6DF2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DF2#FFFFFF#000000##000000
##CB6DF21.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#C883A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6df2;
/* rgb */ color: rgb(203, 109, 242);
/* oklch */ color: oklch(69.4% 0.205 315.0);
Tailwind
colors: {
  custom: {
    50: '#de9bf7',
    500: '#cb6df2',
    950: '#000000',
  },
}
SCSS
$custom: #cb6df2;
$custom-light: #de9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6df2",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 282.406,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69428,
    "c": 0.20494,
    "h": 315
  },
  "luminance": 0.30045
}

Semantic roles & 50–950 ramp

primary
#CB6DF2
secondary
#D5F1CA
accent
#E00546
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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