#CB57DC#CB57DC

#CB57DC is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.216 H 322.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CB57DC
RGBrgb(203, 87, 220)
HSLhsl(292, 66%, 60%)
HSVhsv(292, 60%, 86%)
CMYKcmyk(7.7%, 60.5%, 0%, 13.7%)
CIE-LABlab(56.76, 64.01, -47.41)
CIE-LCHlch(56.76, 79.65, 323.48°)
OKLaboklab(65.46% 0.171 -0.1318)
OKLCHoklch(65.46% 0.216 322.4)
XYZxyz(40.9537, 24.6823, 70.3033)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57DC #68DC57
analogous
#8957DC #CB57DC #DC57AA
triadic
#CB57DC #DCCB57 #57DCCB
tetradic
#CB57DC #DC8957 #68DC57 #57AADC
square
#CB57DC #DC8957 #68DC57 #57AADC
split-complementary
#CB57DC #AADC57 #57DC89
monochromatic
#892099 #B72ACB #CB57DC #DB8AE7 #EABCF1

Accessibility & contrast

On white

3.54
#CB57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CB57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57DC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57DC#FFFFFF#000000##000000
##CB57DC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#688DD9
Tritanopia (blue-blind)
#CE6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb57dc;
/* rgb */ color: rgb(203, 87, 220);
/* oklch */ color: oklch(65.5% 0.216 322.4);
Tailwind
colors: {
  custom: {
    50: '#de8de7',
    500: '#cb57dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb57dc;
$custom-light: #de8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57dc",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 292.331,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.21585,
    "h": 322.4
  },
  "luminance": 0.2468
}

Semantic roles & 50–950 ramp

primary
#CB57DC
secondary
#B4E1AE
accent
#CD182F
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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