#CB57D2#CB57D2

#CB57D2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 64.9% C 0.207 H 325.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CB57D2
RGBrgb(203, 87, 210)
HSLhsl(297, 58%, 58%)
HSVhsv(297, 59%, 82%)
CMYKcmyk(3.3%, 58.6%, 0%, 17.6%)
CIE-LABlab(56.26, 62.21, -42.55)
CIE-LCHlch(56.26, 75.37, 325.63°)
OKLaboklab(64.92% 0.1704 -0.1177)
OKLCHoklch(64.92% 0.207 325.4)
XYZxyz(39.6688, 24.1683, 63.5358)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57D2 #5ED257
analogous
#8D57D2 #CB57D2 #D2579B
triadic
#CB57D2 #D2CB57 #57D2CB
tetradic
#CB57D2 #D28D57 #5ED257 #579BD2
square
#CB57D2 #D28D57 #5ED257 #579BD2
split-complementary
#CB57D2 #9BD257 #57D28D
monochromatic
#84258A #B232BA #CB57D2 #DA87DF #E9B8EC

Accessibility & contrast

On white

3.60
#CB57D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CB57D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57D2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57D2#FFFFFF#000000##000000
##CB57D21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#6E8CCF
Tritanopia (blue-blind)
#CF678D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb57d2;
/* rgb */ color: rgb(203, 87, 210);
/* oklch */ color: oklch(64.9% 0.207 325.4);
Tailwind
colors: {
  custom: {
    50: '#de8de0',
    500: '#cb57d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb57d2;
$custom-light: #de8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57d2",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 296.585,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.20706,
    "h": 325.4
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#CB57D2
secondary
#ADDBAA
accent
#E14750
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CB57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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