#CB57E5#CB57E5

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

Color values

HEX#CB57E5
RGBrgb(203, 87, 229)
HSLhsl(289, 73%, 62%)
HSVhsv(289, 62%, 90%)
CMYKcmyk(11.4%, 62%, 0%, 10.2%)
CIE-LABlab(57.24, 65.67, -51.71)
CIE-LCHlch(57.24, 83.59, 321.78°)
OKLaboklab(65.96% 0.1712 -0.1443)
OKLCHoklch(65.96% 0.224 319.9)
XYZxyz(42.1779, 25.1720, 76.7505)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57E5 #71E557
analogous
#8457E5 #CB57E5 #E557B8
triadic
#CB57E5 #E5CB57 #57E5CB
tetradic
#CB57E5 #E58457 #71E557 #57B8E5
square
#CB57E5 #E58457 #71E557 #57B8E5
split-complementary
#CB57E5 #B8E557 #57E584
monochromatic
#8E1AA8 #BB22DD #CB57E5 #DB8CED #ECC1F5

Accessibility & contrast

On white

3.48
#CB57E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CB57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57E5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57E5#FFFFFF#000000##000000
##CB57E51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E9
Deuteranopia (green-blind)
#628EE1
Tritanopia (blue-blind)
#CC6F96
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb57e5;
/* rgb */ color: rgb(203, 87, 229);
/* oklch */ color: oklch(66.0% 0.224 319.9);
Tailwind
colors: {
  custom: {
    50: '#de8dee',
    500: '#cb57e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb57e5;
$custom-light: #de8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57e5",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 289.014,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6596,
    "c": 0.22392,
    "h": 319.9
  },
  "luminance": 0.2517
}

Semantic roles & 50–950 ramp

primary
#CB57E5
secondary
#BBE6B2
accent
#D51034
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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