#CB57BC#CB57BC

#CB57BC is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.8% C 0.189 H 332.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CB57BC
RGBrgb(203, 87, 188)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 57%, 80%)
CMYKcmyk(0%, 57.1%, 7.4%, 20.4%)
CIE-LABlab(55.22, 58.46, -31.58)
CIE-LCHlch(55.22, 66.45, 331.62°)
OKLaboklab(63.83% 0.1678 -0.0862)
OKLCHoklch(63.83% 0.189 332.8)
XYZxyz(37.1139, 23.1464, 50.0801)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57BC #57CB66
analogous
#A057CB #CB57BC #CB5782
triadic
#CB57BC #BCCB57 #57BCCB
tetradic
#CB57BC #CBA057 #57CB66 #5782CB
square
#CB57BC #CBA057 #57CB66 #5782CB
split-complementary
#CB57BC #82CB57 #57CBA0
monochromatic
#802875 #AF369F #CB57BC #D986CF #E8B4E1

Accessibility & contrast

On white

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

On black

5.63
#CB57BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57BC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57BC#FFFFFF#000000##000000
##CB57BC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#D36082
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb57bc;
/* rgb */ color: rgb(203, 87, 188);
/* oklch */ color: oklch(63.8% 0.189 332.8);
Tailwind
colors: {
  custom: {
    50: '#de8cd0',
    500: '#cb57bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb57bc;
$custom-light: #de8cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57bc",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 307.759,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63832,
    "c": 0.18867,
    "h": 332.8
  },
  "luminance": 0.23144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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