#CB57EC#CB57EC

#CB57EC is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.230 H 318.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CB57EC
RGBrgb(203, 87, 236)
HSLhsl(287, 80%, 63%)
HSVhsv(287, 63%, 93%)
CMYKcmyk(14%, 63.1%, 0%, 7.5%)
CIE-LABlab(57.63, 67.00, -55.02)
CIE-LCHlch(57.63, 86.69, 320.61°)
OKLaboklab(66.36% 0.1712 -0.154)
OKLCHoklch(66.36% 0.23 318)
XYZxyz(43.1750, 25.5708, 82.0020)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57EC #78EC57
analogous
#8057EC #CB57EC #EC57C3
triadic
#CB57EC #ECCB57 #57ECCB
tetradic
#CB57EC #EC8057 #78EC57 #57C3EC
square
#CB57EC #EC8057 #78EC57 #57C3EC
split-complementary
#CB57EC #C3EC57 #57EC80
monochromatic
#9114B4 #BA20E6 #CB57EC #DC8EF2 #EDC5F8

Accessibility & contrast

On white

3.43
#CB57EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CB57EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57EC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57EC#FFFFFF#000000##000000
##CB57EC1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#CA719A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb57ec;
/* rgb */ color: rgb(203, 87, 236);
/* oklch */ color: oklch(66.4% 0.230 318.0);
Tailwind
colors: {
  custom: {
    50: '#de8df3',
    500: '#cb57ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb57ec;
$custom-light: #de8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57ec",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 286.711,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66363,
    "c": 0.23027,
    "h": 318
  },
  "luminance": 0.25569
}

Semantic roles & 50–950 ramp

primary
#CB57EC
secondary
#C1EAB5
accent
#DC0A38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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