#CB57E6#CB57E6

#CB57E6 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.225 H 319.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CB57E6
RGBrgb(203, 87, 230)
HSLhsl(289, 74%, 62%)
HSVhsv(289, 62%, 90%)
CMYKcmyk(11.7%, 62.2%, 0%, 9.8%)
CIE-LABlab(57.30, 65.86, -52.19)
CIE-LCHlch(57.30, 84.03, 321.61°)
OKLaboklab(66.02% 0.1712 -0.1457)
OKLCHoklch(66.02% 0.225 319.6)
XYZxyz(42.3179, 25.2280, 77.4880)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E6 #72E657
analogous
#8357E6 #CB57E6 #E657BA
triadic
#CB57E6 #E6CB57 #57E6CB
tetradic
#CB57E6 #E68357 #72E657 #57BAE6
square
#CB57E6 #E68357 #72E657 #57BAE6
split-complementary
#CB57E6 #BAE657 #57E683
monochromatic
#8E19A9 #BB22DE #CB57E6 #DB8CEE #ECC2F6

Accessibility & contrast

On white

3.47
#CB57E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CB57E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E6#FFFFFF#000000##000000
##CB57E61.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#628EE2
Tritanopia (blue-blind)
#CC6F97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb57e6;
/* rgb */ color: rgb(203, 87, 230);
/* oklch */ color: oklch(66.0% 0.225 319.6);
Tailwind
colors: {
  custom: {
    50: '#de8dee',
    500: '#cb57e6',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e6;
$custom-light: #de8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e6",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 288.671,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66017,
    "c": 0.22482,
    "h": 319.6
  },
  "luminance": 0.25226
}

Semantic roles & 50–950 ramp

primary
#CB57E6
secondary
#BCE7B2
accent
#D60F35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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