#CB57E2#CB57E2

#CB57E2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.8% C 0.221 H 320.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CB57E2
RGBrgb(203, 87, 226)
HSLhsl(290, 71%, 61%)
HSVhsv(290, 62%, 89%)
CMYKcmyk(10.2%, 61.5%, 0%, 11.4%)
CIE-LABlab(57.08, 65.11, -50.28)
CIE-LCHlch(57.08, 82.27, 322.32°)
OKLaboklab(65.79% 0.1711 -0.1402)
OKLCHoklch(65.79% 0.221 320.7)
XYZxyz(41.7627, 25.0059, 74.5636)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E2 #6EE257
analogous
#8657E2 #CB57E2 #E257B4
triadic
#CB57E2 #E2CB57 #57E2CB
tetradic
#CB57E2 #E28657 #6EE257 #57B4E2
square
#CB57E2 #E28657 #6EE257 #57B4E2
split-complementary
#CB57E2 #B4E257 #57E286
monochromatic
#8C1CA3 #B925D7 #CB57E2 #DB8BEB #EBBFF4

Accessibility & contrast

On white

3.50
#CB57E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CB57E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E2#FFFFFF#000000##000000
##CB57E21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#CC6D95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb57e2;
/* rgb */ color: rgb(203, 87, 226);
/* oklch */ color: oklch(65.8% 0.221 320.7);
Tailwind
colors: {
  custom: {
    50: '#de8dec',
    500: '#cb57e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e2;
$custom-light: #de8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e2",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 290.072,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65791,
    "c": 0.22121,
    "h": 320.7
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#CB57E2
secondary
#B9E4B0
accent
#D31333
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB57E2

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

Preview Lab → · Contrast checker → · Palette generator →

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