#CB57BD#CB57BD

#CB57BD is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.9% C 0.189 H 332.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CB57BD
RGBrgb(203, 87, 189)
HSLhsl(307, 53%, 57%)
HSVhsv(307, 57%, 80%)
CMYKcmyk(0%, 57.1%, 6.9%, 20.4%)
CIE-LABlab(55.27, 58.63, -32.09)
CIE-LCHlch(55.27, 66.83, 331.30°)
OKLaboklab(63.88% 0.168 -0.0876)
OKLCHoklch(63.88% 0.189 332.5)
XYZxyz(37.2221, 23.1896, 50.6498)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57BD #57CB65
analogous
#9F57CB #CB57BD #CB5783
triadic
#CB57BD #BDCB57 #57BDCB
tetradic
#CB57BD #CB9F57 #57CB65 #5783CB
square
#CB57BD #CB9F57 #57CB65 #5783CB
split-complementary
#CB57BD #83CB57 #57CB9F
monochromatic
#802875 #AF36A0 #CB57BD #D986CF #E8B4E2

Accessibility & contrast

On white

3.73
#CB57BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CB57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57BD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57BD#FFFFFF#000000##000000
##CB57BD1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D36082
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb57bd;
/* rgb */ color: rgb(203, 87, 189);
/* oklch */ color: oklch(63.9% 0.189 332.5);
Tailwind
colors: {
  custom: {
    50: '#de8cd1',
    500: '#cb57bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb57bd;
$custom-light: #de8cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57bd",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 307.241,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63879,
    "c": 0.18947,
    "h": 332.5
  },
  "luminance": 0.23187
}

Semantic roles & 50–950 ramp

primary
#CB57BD
secondary
#A7D7AD
accent
#DC5D4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CB57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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