#CB57C7#CB57C7

#CB57C7 is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.4% C 0.198 H 328.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CB57C7
RGBrgb(203, 87, 199)
HSLhsl(302, 53%, 57%)
HSVhsv(302, 57%, 80%)
CMYKcmyk(0%, 57.1%, 2%, 20.4%)
CIE-LABlab(55.72, 60.30, -37.11)
CIE-LCHlch(55.72, 70.80, 328.39°)
OKLaboklab(64.36% 0.1693 -0.102)
OKLCHoklch(64.36% 0.198 328.9)
XYZxyz(38.3452, 23.6389, 56.5648)
Luminance0.2364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57C7 #57CB5B
analogous
#9557CB #CB57C7 #CB578D
triadic
#CB57C7 #C7CB57 #57C7CB
tetradic
#CB57C7 #CB9557 #57CB5B #578DCB
square
#CB57C7 #CB9557 #57CB5B #578DCB
split-complementary
#CB57C7 #8DCB57 #57CB95
monochromatic
#80287D #AF36AB #CB57C7 #D986D7 #E8B4E6

Accessibility & contrast

On white

3.67
#CB57C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CB57C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57C7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57C7#FFFFFF#000000##000000
##CB57C71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7CCB
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#D16487
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb57c7;
/* rgb */ color: rgb(203, 87, 199);
/* oklch */ color: oklch(64.4% 0.198 328.9);
Tailwind
colors: {
  custom: {
    50: '#de8dd8',
    500: '#cb57c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb57c7;
$custom-light: #de8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57c7",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 302.069,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.19766,
    "h": 328.9
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

primary
#CB57C7
secondary
#A7D7A9
accent
#DC514C
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150D14
muted
#837D83

Preview Lab

Preview with #CB57C7

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

Preview Lab → · Contrast checker → · Palette generator →

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