#CB57EE#CB57EE

#CB57EE is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.232 H 317.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CB57EE
RGBrgb(203, 87, 238)
HSLhsl(286, 82%, 64%)
HSVhsv(286, 63%, 93%)
CMYKcmyk(14.7%, 63.4%, 0%, 6.7%)
CIE-LABlab(57.74, 67.38, -55.96)
CIE-LCHlch(57.74, 87.59, 320.29°)
OKLaboklab(66.48% 0.1712 -0.1567)
OKLCHoklch(66.48% 0.232 317.5)
XYZxyz(43.4672, 25.6877, 83.5409)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57EE #7AEE57
analogous
#7F57EE #CB57EE #EE57C5
triadic
#CB57EE #EECB57 #57EECB
tetradic
#CB57EE #EE7F57 #7AEE57 #57C5EE
square
#CB57EE #EE7F57 #7AEE57 #57C5EE
split-complementary
#CB57EE #C5EE57 #57EE7F
monochromatic
#9213B8 #BA1FE8 #CB57EE #DC8FF4 #EDC6F9

Accessibility & contrast

On white

3.42
#CB57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CB57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57EE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57EE#FFFFFF#000000##000000
##CB57EE1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F3
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#CA729B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb57ee;
/* rgb */ color: rgb(203, 87, 238);
/* oklch */ color: oklch(66.5% 0.232 317.5);
Tailwind
colors: {
  custom: {
    50: '#de8ef4',
    500: '#cb57ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb57ee;
$custom-light: #de8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57ee",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 286.093,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6648,
    "c": 0.2321,
    "h": 317.5
  },
  "luminance": 0.25686
}

Semantic roles & 50–950 ramp

primary
#CB57EE
secondary
#C2EBB6
accent
#DE0839
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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