#CB7EEE#CB7EEE

#CB7EEE is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.174 H 314.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CB7EEE
RGBrgb(203, 126, 238)
HSLhsl(281, 77%, 71%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.7%, 47.1%, 0%, 6.7%)
CIE-LABlab(64.80, 48.57, -44.77)
CIE-LCHlch(64.80, 66.06, 317.33°)
OKLaboklab(71.66% 0.122 -0.1244)
OKLCHoklch(71.66% 0.174 314.4)
XYZxyz(47.5196, 33.7925, 84.8917)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EEE #A1EE7E
analogous
#937EEE #CB7EEE #EE7ED9
triadic
#CB7EEE #EECB7E #7EEECB
tetradic
#CB7EEE #EE937E #A1EE7E #7ED9EE
square
#CB7EEE #EE937E #A1EE7E #7ED9EE
split-complementary
#CB7EEE #D9EE7E #7EEE93
monochromatic
#9C1CD5 #B548E7 #CB7EEE #E1B4F5 #F4E4FB

Accessibility & contrast

On white

2.71
#CB7EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CB7EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EEE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EEE#FFFFFF#000000##000000
##CB7EEE1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#C98FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7eee;
/* rgb */ color: rgb(203, 126, 238);
/* oklch */ color: oklch(71.7% 0.174 314.4);
Tailwind
colors: {
  custom: {
    50: '#dda5f4',
    500: '#cb7eee',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eee;
$custom-light: #dda5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eee",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 281.25,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71657,
    "c": 0.17422,
    "h": 314.4
  },
  "luminance": 0.33791
}

Semantic roles & 50–950 ramp

primary
#CB7EEE
secondary
#DEF2D5
accent
#D90D4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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