#CB57BF#CB57BF

#CB57BF is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.0% C 0.191 H 331.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CB57BF
RGBrgb(203, 87, 191)
HSLhsl(306, 53%, 57%)
HSVhsv(306, 57%, 80%)
CMYKcmyk(0%, 57.1%, 5.9%, 20.4%)
CIE-LABlab(55.36, 58.95, -33.10)
CIE-LCHlch(55.36, 67.61, 330.69°)
OKLaboklab(63.97% 0.1683 -0.0905)
OKLCHoklch(63.97% 0.191 331.7)
XYZxyz(37.4407, 23.2771, 51.8010)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57BF #57CB63
analogous
#9D57CB #CB57BF #CB5785
triadic
#CB57BF #BFCB57 #57BFCB
tetradic
#CB57BF #CB9D57 #57CB63 #5785CB
square
#CB57BF #CB9D57 #57CB63 #5785CB
split-complementary
#CB57BF #85CB57 #57CB9D
monochromatic
#802877 #AF36A2 #CB57BF #D986D1 #E8B4E3

Accessibility & contrast

On white

3.71
#CB57BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CB57BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57BF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57BF#FFFFFF#000000##000000
##CB57BF1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#768ABC
Tritanopia (blue-blind)
#D36183
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb57bf;
/* rgb */ color: rgb(203, 87, 191);
/* oklch */ color: oklch(64.0% 0.191 331.7);
Tailwind
colors: {
  custom: {
    50: '#de8cd2',
    500: '#cb57bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb57bf;
$custom-light: #de8cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57bf",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 306.207,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63974,
    "c": 0.19108,
    "h": 331.7
  },
  "luminance": 0.23274
}

Semantic roles & 50–950 ramp

primary
#CB57BF
secondary
#A7D7AC
accent
#DC5B4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CB57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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