#CB6BEA#CB6BEA

#CB6BEA is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.7% C 0.200 H 317.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#CB6BEA
RGBrgb(203, 107, 234)
HSLhsl(285, 75%, 67%)
HSVhsv(285, 54%, 92%)
CMYKcmyk(13.2%, 54.3%, 0%, 8.2%)
CIE-LABlab(60.92, 57.39, -48.68)
CIE-LCHlch(60.92, 75.25, 319.70°)
OKLaboklab(68.73% 0.1469 -0.1356)
OKLCHoklch(68.73% 0.2 317.3)
XYZxyz(44.7355, 29.1540, 81.0967)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB6BEA #8AEA6B
analogous
#8C6BEA #CB6BEA #EA6BCA
triadic
#CB6BEA #EACB6B #6BEACB
tetradic
#CB6BEA #EA8C6B #8AEA6B #6BCAEA
square
#CB6BEA #EA8C6B #8AEA6B #6BCAEA
split-complementary
#CB6BEA #CAEA6B #6BEA8C
monochromatic
#971BBF #B835E2 #CB6BEA #DEA1F2 #F1D6F9

Accessibility & contrast

On white

3.07
#CB6BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#CB6BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB6BEA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB6BEA#FFFFFF#000000##000000
##CB6BEA1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#CA7FA1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cb6bea;
/* rgb */ color: rgb(203, 107, 234);
/* oklch */ color: oklch(68.7% 0.200 317.3);
Tailwind
colors: {
  custom: {
    50: '#dd99f1',
    500: '#cb6bea',
    950: '#000000',
  },
}
SCSS
$custom: #cb6bea;
$custom-light: #dd99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb6bea",
  "rgb": {
    "r": 203,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 285.354,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.1999,
    "h": 317.3
  },
  "luminance": 0.29152
}

Semantic roles & 50–950 ramp

primary
#CB6BEA
secondary
#CEEDC4
accent
#D70E3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CB6BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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