#CB57C8#CB57C8

#CB57C8 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.4% C 0.199 H 328.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CB57C8
RGBrgb(203, 87, 200)
HSLhsl(302, 53%, 57%)
HSVhsv(302, 57%, 80%)
CMYKcmyk(0%, 57.1%, 1.5%, 20.4%)
CIE-LABlab(55.77, 60.47, -37.61)
CIE-LCHlch(55.77, 71.21, 328.12°)
OKLaboklab(64.41% 0.1694 -0.1034)
OKLCHoklch(64.41% 0.199 328.6)
XYZxyz(38.4617, 23.6855, 57.1783)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57C8 #57CB5A
analogous
#9457CB #CB57C8 #CB578E
triadic
#CB57C8 #C8CB57 #57C8CB
tetradic
#CB57C8 #CB9457 #57CB5A #578ECB
square
#CB57C8 #CB9457 #57CB5A #578ECB
split-complementary
#CB57C8 #8ECB57 #57CB94
monochromatic
#80287E #AF36AC #CB57C8 #D986D7 #E8B4E7

Accessibility & contrast

On white

3.66
#CB57C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CB57C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57C8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57C8#FFFFFF#000000##000000
##CB57C81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCC
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#D16488
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb57c8;
/* rgb */ color: rgb(203, 87, 200);
/* oklch */ color: oklch(64.4% 0.199 328.6);
Tailwind
colors: {
  custom: {
    50: '#de8dd9',
    500: '#cb57c8',
    950: '#000000',
  },
}
SCSS
$custom: #cb57c8;
$custom-light: #de8dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57c8",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 301.552,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64413,
    "c": 0.19851,
    "h": 328.6
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#CB57C8
secondary
#A7D7A8
accent
#DC4F4C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CB57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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