#CB7BEE#CB7BEE

#CB7BEE is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.179 H 314.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CB7BEE
RGBrgb(203, 123, 238)
HSLhsl(282, 77%, 71%)
HSVhsv(282, 48%, 93%)
CMYKcmyk(14.7%, 48.3%, 0%, 6.7%)
CIE-LABlab(64.19, 50.14, -45.73)
CIE-LCHlch(64.19, 67.86, 317.63°)
OKLaboklab(71.21% 0.1261 -0.1271)
OKLCHoklch(71.21% 0.179 314.8)
XYZxyz(47.1417, 33.0367, 84.7657)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BEE #9EEE7B
analogous
#917BEE #CB7BEE #EE7BD7
triadic
#CB7BEE #EECB7B #7BEECB
tetradic
#CB7BEE #EE917B #9EEE7B #7BD7EE
square
#CB7BEE #EE917B #9EEE7B #7BD7EE
split-complementary
#CB7BEE #D7EE7B #7BEE91
monochromatic
#9B1BD3 #B645E7 #CB7BEE #E0B1F5 #F4E4FC

Accessibility & contrast

On white

2.76
#CB7BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CB7BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BEE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BEE#FFFFFF#000000##000000
##CB7BEE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#C98CAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7bee;
/* rgb */ color: rgb(203, 123, 238);
/* oklch */ color: oklch(71.2% 0.179 314.8);
Tailwind
colors: {
  custom: {
    50: '#dda3f4',
    500: '#cb7bee',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bee;
$custom-light: #dda3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bee",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 281.739,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.17905,
    "h": 314.8
  },
  "luminance": 0.33035
}

Semantic roles & 50–950 ramp

primary
#CB7BEE
secondary
#DCF2D3
accent
#D90C4B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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