#CB57E1#CB57E1

#CB57E1 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.220 H 321.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CB57E1
RGBrgb(203, 87, 225)
HSLhsl(290, 70%, 61%)
HSVhsv(290, 61%, 88%)
CMYKcmyk(9.8%, 61.3%, 0%, 11.8%)
CIE-LABlab(57.03, 64.93, -49.81)
CIE-LCHlch(57.03, 81.83, 322.51°)
OKLaboklab(65.74% 0.1711 -0.1388)
OKLCHoklch(65.74% 0.22 321)
XYZxyz(41.6258, 24.9512, 73.8430)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E1 #6DE157
analogous
#8657E1 #CB57E1 #E157B2
triadic
#CB57E1 #E1CB57 #57E1CB
tetradic
#CB57E1 #E18657 #6DE157 #57B2E1
square
#CB57E1 #E18657 #6DE157 #57B2E1
split-complementary
#CB57E1 #B2E157 #57E186
monochromatic
#8C1DA1 #B926D5 #CB57E1 #DB8BEA #EBBFF4

Accessibility & contrast

On white

3.51
#CB57E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CB57E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E1#FFFFFF#000000##000000
##CB57E11.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E5
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#CD6D94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb57e1;
/* rgb */ color: rgb(203, 87, 225);
/* oklch */ color: oklch(65.7% 0.220 321.0);
Tailwind
colors: {
  custom: {
    50: '#de8deb',
    500: '#cb57e1',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e1;
$custom-light: #de8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e1",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 290.435,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65735,
    "c": 0.22032,
    "h": 321
  },
  "luminance": 0.24949
}

Semantic roles & 50–950 ramp

primary
#CB57E1
secondary
#B8E4B0
accent
#D21432
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB57E1

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

Preview Lab → · Contrast checker → · Palette generator →

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