#CB57E7#CB57E7

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

Color values

HEX#CB57E7
RGBrgb(203, 87, 231)
HSLhsl(288, 75%, 62%)
HSVhsv(288, 62%, 91%)
CMYKcmyk(12.1%, 62.3%, 0%, 9.4%)
CIE-LABlab(57.35, 66.05, -52.66)
CIE-LCHlch(57.35, 84.47, 321.43°)
OKLaboklab(66.07% 0.1712 -0.1471)
OKLCHoklch(66.07% 0.226 319.3)
XYZxyz(42.4587, 25.2843, 78.2297)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E7 #73E757
analogous
#8357E7 #CB57E7 #E757BB
triadic
#CB57E7 #E7CB57 #57E7CB
tetradic
#CB57E7 #E78357 #73E757 #57BBE7
square
#CB57E7 #E78357 #73E757 #57BBE7
split-complementary
#CB57E7 #BBE757 #57E783
monochromatic
#8F18AB #BA21DF #CB57E7 #DC8DEF #ECC2F6

Accessibility & contrast

On white

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

On black

6.06
#CB57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E7#FFFFFF#000000##000000
##CB57E71.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#618EE3
Tritanopia (blue-blind)
#CB6F97
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb57e7;
/* rgb */ color: rgb(203, 87, 231);
/* oklch */ color: oklch(66.1% 0.226 319.3);
Tailwind
colors: {
  custom: {
    50: '#de8def',
    500: '#cb57e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e7;
$custom-light: #de8def;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e7",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 288.333,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.22572,
    "h": 319.3
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#CB57E7
secondary
#BDE7B3
accent
#D70E35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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