#CB57BB#CB57BB

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

Color values

HEX#CB57BB
RGBrgb(203, 87, 187)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 57%, 80%)
CMYKcmyk(0%, 57.1%, 7.9%, 20.4%)
CIE-LABlab(55.18, 58.30, -31.08)
CIE-LCHlch(55.18, 66.07, 331.94°)
OKLaboklab(63.79% 0.1677 -0.0847)
OKLCHoklch(63.79% 0.188 333.2)
XYZxyz(37.0065, 23.1034, 49.5144)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57BB #57CB67
analogous
#A157CB #CB57BB #CB5781
triadic
#CB57BB #BBCB57 #57BBCB
tetradic
#CB57BB #CBA157 #57CB67 #5781CB
square
#CB57BB #CBA157 #57CB67 #5781CB
split-complementary
#CB57BB #81CB57 #57CBA1
monochromatic
#802874 #AF369E #CB57BB #D986CE #E8B4E1

Accessibility & contrast

On white

3.74
#CB57BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#CB57BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57BB#FFFFFF#000000##000000
##CB57BB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#788AB8
Tritanopia (blue-blind)
#D35F81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb57bb;
/* rgb */ color: rgb(203, 87, 187);
/* oklch */ color: oklch(63.8% 0.188 333.2);
Tailwind
colors: {
  custom: {
    50: '#de8ccf',
    500: '#cb57bb',
    950: '#000000',
  },
}
SCSS
$custom: #cb57bb;
$custom-light: #de8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57bb",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 308.276,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63785,
    "c": 0.18787,
    "h": 333.2
  },
  "luminance": 0.23101
}

Semantic roles & 50–950 ramp

primary
#CB57BB
secondary
#A7D7AE
accent
#DC604C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CB57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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