#CB57C4#CB57C4

#CB57C4 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.2% C 0.195 H 330.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CB57C4
RGBrgb(203, 87, 196)
HSLhsl(304, 53%, 57%)
HSVhsv(304, 57%, 80%)
CMYKcmyk(0%, 57.1%, 3.4%, 20.4%)
CIE-LABlab(55.58, 59.79, -35.62)
CIE-LCHlch(55.58, 69.59, 329.22°)
OKLaboklab(64.22% 0.169 -0.0977)
OKLCHoklch(64.22% 0.195 330)
XYZxyz(38.0003, 23.5009, 54.7485)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57C4 #57CB5E
analogous
#9857CB #CB57C4 #CB578A
triadic
#CB57C4 #C4CB57 #57C4CB
tetradic
#CB57C4 #CB9857 #57CB5E #578ACB
square
#CB57C4 #CB9857 #57CB5E #578ACB
split-complementary
#CB57C4 #8ACB57 #57CB98
monochromatic
#80287B #AF36A7 #CB57C4 #D986D4 #E8B4E5

Accessibility & contrast

On white

3.68
#CB57C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CB57C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57C4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57C4#FFFFFF#000000##000000
##CB57C41.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#D26286
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb57c4;
/* rgb */ color: rgb(203, 87, 196);
/* oklch */ color: oklch(64.2% 0.195 330.0);
Tailwind
colors: {
  custom: {
    50: '#de8cd6',
    500: '#cb57c4',
    950: '#000000',
  },
}
SCSS
$custom: #cb57c4;
$custom-light: #de8cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57c4",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 303.621,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64215,
    "c": 0.19517,
    "h": 330
  },
  "luminance": 0.23498
}

Semantic roles & 50–950 ramp

primary
#CB57C4
secondary
#A7D7AA
accent
#DC544C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CB57C4

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

Preview Lab → · Contrast checker → · Palette generator →

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