#CB6DEA#CB6DEA

#CB6DEA is a light, vivid purple. Relative luminance 0.296; OKLCH L 69.0% C 0.197 H 317.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CB6DEA
RGBrgb(203, 109, 234)
HSLhsl(285, 75%, 67%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(13.2%, 53.4%, 0%, 8.2%)
CIE-LABlab(61.29, 56.41, -48.09)
CIE-LCHlch(61.29, 74.13, 319.55°)
OKLaboklab(69% 0.1443 -0.1339)
OKLCHoklch(69% 0.197 317.1)
XYZxyz(44.9464, 29.5759, 81.1670)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6DEA #8CEA6D
analogous
#8D6DEA #CB6DEA #EA6DCB
triadic
#CB6DEA #EACB6D #6DEACB
tetradic
#CB6DEA #EA8D6D #8CEA6D #6DCBEA
square
#CB6DEA #EA8D6D #8CEA6D #6DCBEA
split-complementary
#CB6DEA #CBEA6D #6DEA8D
monochromatic
#981CC1 #B837E2 #CB6DEA #DEA3F2 #F1D8F9

Accessibility & contrast

On white

3.04
#CB6DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CB6DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6DEA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6DEA#FFFFFF#000000##000000
##CB6DEA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#CA80A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cb6dea;
/* rgb */ color: rgb(203, 109, 234);
/* oklch */ color: oklch(69.0% 0.197 317.1);
Tailwind
colors: {
  custom: {
    50: '#dd9af1',
    500: '#cb6dea',
    950: '#000000',
  },
}
SCSS
$custom: #cb6dea;
$custom-light: #dd9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6dea",
  "rgb": {
    "r": 203,
    "g": 109,
    "b": 234
  },
  "hsl": {
    "h": 285.12,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68996,
    "c": 0.19685,
    "h": 317.1
  },
  "luminance": 0.29574
}

Semantic roles & 50–950 ramp

primary
#CB6DEA
secondary
#CFEDC6
accent
#D70E40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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