#CB57D5#CB57D5

#CB57D5 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.210 H 324.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CB57D5
RGBrgb(203, 87, 213)
HSLhsl(295, 60%, 59%)
HSVhsv(295, 59%, 84%)
CMYKcmyk(4.7%, 59.2%, 0%, 16.5%)
CIE-LABlab(56.41, 62.74, -44.01)
CIE-LCHlch(56.41, 76.64, 324.95°)
OKLaboklab(65.08% 0.1706 -0.1219)
OKLCHoklch(65.08% 0.21 324.4)
XYZxyz(40.0460, 24.3192, 65.5226)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57D5 #61D557
analogous
#8C57D5 #CB57D5 #D557A0
triadic
#CB57D5 #D5CB57 #57D5CB
tetradic
#CB57D5 #D58C57 #61D557 #57A0D5
square
#CB57D5 #D58C57 #61D557 #57A0D5
split-complementary
#CB57D5 #A0D557 #57D58C
monochromatic
#86248E #B430BF #CB57D5 #DA88E1 #E9B9ED

Accessibility & contrast

On white

3.58
#CB57D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CB57D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57D5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57D5#FFFFFF#000000##000000
##CB57D51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED9
Deuteranopia (green-blind)
#6C8CD2
Tritanopia (blue-blind)
#CF698E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb57d5;
/* rgb */ color: rgb(203, 87, 213);
/* oklch */ color: oklch(65.1% 0.210 324.4);
Tailwind
colors: {
  custom: {
    50: '#de8de2',
    500: '#cb57d5',
    950: '#000000',
  },
}
SCSS
$custom: #cb57d5;
$custom-light: #de8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57d5",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 295.238,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65082,
    "c": 0.20967,
    "h": 324.4
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#CB57D5
secondary
#AFDDAB
accent
#E34551
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CB57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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