#CB57E9#CB57E9

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

Color values

HEX#CB57E9
RGBrgb(203, 87, 233)
HSLhsl(288, 77%, 63%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.9%, 62.7%, 0%, 8.6%)
CIE-LABlab(57.46, 66.43, -53.61)
CIE-LCHlch(57.46, 85.36, 321.10°)
OKLaboklab(66.19% 0.1712 -0.1498)
OKLCHoklch(66.19% 0.228 318.8)
XYZxyz(42.7428, 25.3980, 79.7258)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E9 #75E957
analogous
#8257E9 #CB57E9 #E957BE
triadic
#CB57E9 #E9CB57 #57E9CB
tetradic
#CB57E9 #E98257 #75E957 #57BEE9
square
#CB57E9 #E98257 #75E957 #57BEE9
split-complementary
#CB57E9 #BEE957 #57E982
monochromatic
#9017AF #BA21E2 #CB57E9 #DC8DF0 #ECC3F7

Accessibility & contrast

On white

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

On black

6.08
#CB57E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E9#FFFFFF#000000##000000
##CB57E91.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb57e9;
/* rgb */ color: rgb(203, 87, 233);
/* oklch */ color: oklch(66.2% 0.228 318.8);
Tailwind
colors: {
  custom: {
    50: '#de8df1',
    500: '#cb57e9',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e9;
$custom-light: #de8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e9",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 287.671,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.22754,
    "h": 318.8
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#CB57E9
secondary
#BEE8B3
accent
#D90C36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB57E9

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

Preview Lab → · Contrast checker → · Palette generator →

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