#CB57E8#CB57E8

#CB57E8 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.227 H 319.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CB57E8
RGBrgb(203, 87, 232)
HSLhsl(288, 76%, 63%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.5%, 62.5%, 0%, 9%)
CIE-LABlab(57.41, 66.24, -53.13)
CIE-LCHlch(57.41, 84.92, 321.26°)
OKLaboklab(66.13% 0.1712 -0.1485)
OKLCHoklch(66.13% 0.227 319.1)
XYZxyz(42.6004, 25.3410, 78.9756)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E8 #74E857
analogous
#8357E8 #CB57E8 #E857BC
triadic
#CB57E8 #E8CB57 #57E8CB
tetradic
#CB57E8 #E88357 #74E857 #57BCE8
square
#CB57E8 #E88357 #74E857 #57BCE8
split-complementary
#CB57E8 #BCE857 #57E883
monochromatic
#8F18AD #BA21E1 #CB57E8 #DC8DEF #ECC3F7

Accessibility & contrast

On white

3.46
#CB57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CB57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E8#FFFFFF#000000##000000
##CB57E81.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#608EE4
Tritanopia (blue-blind)
#CB7098
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb57e8;
/* rgb */ color: rgb(203, 87, 232);
/* oklch */ color: oklch(66.1% 0.227 319.1);
Tailwind
colors: {
  custom: {
    50: '#de8df0',
    500: '#cb57e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e8;
$custom-light: #de8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e8",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 288,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66132,
    "c": 0.22663,
    "h": 319.1
  },
  "luminance": 0.25339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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