#CB57CB#CB57CB

#CB57CB is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.6% C 0.201 H 327.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CB57CB
RGBrgb(203, 87, 203)
HSLhsl(300, 53%, 57%)
HSVhsv(300, 57%, 80%)
CMYKcmyk(0%, 57.1%, 0%, 20.4%)
CIE-LABlab(55.91, 60.98, -39.10)
CIE-LCHlch(55.91, 72.44, 327.33°)
OKLaboklab(64.56% 0.1697 -0.1077)
OKLCHoklch(64.56% 0.201 327.6)
XYZxyz(38.8157, 23.8271, 59.0429)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57CB #57CB57
analogous
#9157CB #CB57CB #CB5791
triadic
#CB57CB #CBCB57 #57CBCB
tetradic
#CB57CB #CB9157 #57CB57 #5791CB
square
#CB57CB #CB9157 #57CB57 #5791CB
split-complementary
#CB57CB #91CB57 #57CB91
monochromatic
#802880 #AF36AF #CB57CB #D986D9 #E8B4E8

Accessibility & contrast

On white

3.64
#CB57CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CB57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57CB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57CB#FFFFFF#000000##000000
##CB57CB1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#D16589
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb57cb;
/* rgb */ color: rgb(203, 87, 203);
/* oklch */ color: oklch(64.6% 0.201 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8ddb',
    500: '#cb57cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb57cb;
$custom-light: #de8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57cb",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64564,
    "c": 0.20104,
    "h": 327.6
  },
  "luminance": 0.23825
}

Semantic roles & 50–950 ramp

primary
#CB57CB
secondary
#A7D7A7
accent
#DC4C4C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150D15
muted
#837D83

Preview Lab

Preview with #CB57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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