#CB57D7#CB57D7

#CB57D7 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.2% C 0.211 H 323.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CB57D7
RGBrgb(203, 87, 215)
HSLhsl(294, 62%, 59%)
HSVhsv(294, 60%, 84%)
CMYKcmyk(5.6%, 59.5%, 0%, 15.7%)
CIE-LABlab(56.51, 63.10, -44.99)
CIE-LCHlch(56.51, 77.50, 324.51°)
OKLaboklab(65.19% 0.1707 -0.1248)
OKLCHoklch(65.19% 0.211 323.8)
XYZxyz(40.3014, 24.4214, 66.8678)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57D7 #63D757
analogous
#8B57D7 #CB57D7 #D757A3
triadic
#CB57D7 #D7CB57 #57D7CB
tetradic
#CB57D7 #D78B57 #63D757 #57A3D7
square
#CB57D7 #D78B57 #63D757 #57A3D7
split-complementary
#CB57D7 #A3D757 #57D78B
monochromatic
#872391 #B52EC2 #CB57D7 #DA88E3 #EABAEF

Accessibility & contrast

On white

3.57
#CB57D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CB57D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57D7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57D7#FFFFFF#000000##000000
##CB57D71.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDB
Deuteranopia (green-blind)
#6B8CD4
Tritanopia (blue-blind)
#CF698F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb57d7;
/* rgb */ color: rgb(203, 87, 215);
/* oklch */ color: oklch(65.2% 0.211 323.8);
Tailwind
colors: {
  custom: {
    50: '#de8de4',
    500: '#cb57d7',
    950: '#000000',
  },
}
SCSS
$custom: #cb57d7;
$custom-light: #de8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57d7",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 294.375,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65189,
    "c": 0.21142,
    "h": 323.8
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

primary
#CB57D7
secondary
#B1DEAC
accent
#E54352
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CB57D7

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

Preview Lab → · Contrast checker → · Palette generator →

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