#CB57EA#CB57EA

#CB57EA is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.2% C 0.228 H 318.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CB57EA
RGBrgb(203, 87, 234)
HSLhsl(287, 78%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(13.2%, 62.8%, 0%, 8.2%)
CIE-LABlab(57.52, 66.62, -54.08)
CIE-LCHlch(57.52, 85.80, 320.93°)
OKLaboklab(66.25% 0.1712 -0.1512)
OKLCHoklch(66.25% 0.228 318.5)
XYZxyz(42.8861, 25.4553, 80.4803)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57EA #76EA57
analogous
#8157EA #CB57EA #EA57BF
triadic
#CB57EA #EACB57 #57EACB
tetradic
#CB57EA #EA8157 #76EA57 #57BFEA
square
#CB57EA #EA8157 #76EA57 #57BFEA
split-complementary
#CB57EA #BFEA57 #57EA81
monochromatic
#9016B1 #BA21E3 #CB57EA #DC8DF1 #EDC4F8

Accessibility & contrast

On white

3.45
#CB57EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CB57EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57EA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57EA#FFFFFF#000000##000000
##CB57EA1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82EE
Deuteranopia (green-blind)
#5F8EE6
Tritanopia (blue-blind)
#CB7099
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb57ea;
/* rgb */ color: rgb(203, 87, 234);
/* oklch */ color: oklch(66.2% 0.228 318.5);
Tailwind
colors: {
  custom: {
    50: '#de8df1',
    500: '#cb57ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb57ea;
$custom-light: #de8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57ea",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 287.347,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66247,
    "c": 0.22845,
    "h": 318.5
  },
  "luminance": 0.25453
}

Semantic roles & 50–950 ramp

primary
#CB57EA
secondary
#BFE9B4
accent
#DA0B37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB57EA

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

Preview Lab → · Contrast checker → · Palette generator →

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