#CB6FEA#CB6FEA

#CB6FEA is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.3% C 0.194 H 317.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CB6FEA
RGBrgb(203, 111, 234)
HSLhsl(285, 75%, 68%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(13.2%, 52.6%, 0%, 8.2%)
CIE-LABlab(61.66, 55.42, -47.50)
CIE-LCHlch(61.66, 72.99, 319.40°)
OKLaboklab(69.27% 0.1417 -0.1322)
OKLCHoklch(69.27% 0.194 317)
XYZxyz(45.1622, 30.0074, 81.2390)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6FEA #8EEA6F
analogous
#8D6FEA #CB6FEA #EA6FCB
triadic
#CB6FEA #EACB6F #6FEACB
tetradic
#CB6FEA #EA8D6F #8EEA6F #6FCBEA
square
#CB6FEA #EA8D6F #8EEA6F #6FCBEA
split-complementary
#CB6FEA #CBEA6F #6FEA8D
monochromatic
#981CC2 #B83AE2 #CB6FEA #DEA4F2 #F2DAFA

Accessibility & contrast

On white

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

On black

7.00
#CB6FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB6FEA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6FEA#FFFFFF#000000##000000
##CB6FEA1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#CA82A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb6fea;
/* rgb */ color: rgb(203, 111, 234);
/* oklch */ color: oklch(69.3% 0.194 317.0);
Tailwind
colors: {
  custom: {
    50: '#dd9cf1',
    500: '#cb6fea',
    950: '#000000',
  },
}
SCSS
$custom: #cb6fea;
$custom-light: #dd9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6fea",
  "rgb": {
    "r": 203,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 284.878,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69272,
    "c": 0.19378,
    "h": 317
  },
  "luminance": 0.30006
}

Semantic roles & 50–950 ramp

primary
#CB6FEA
secondary
#D1EDC7
accent
#D70F41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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