#CB58BC#CB58BC

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

Color values

HEX#CB58BC
RGBrgb(203, 88, 188)
HSLhsl(308, 53%, 57%)
HSVhsv(308, 57%, 80%)
CMYKcmyk(0%, 56.7%, 7.4%, 20.4%)
CIE-LABlab(55.39, 58.01, -31.32)
CIE-LCHlch(55.39, 65.93, 331.63°)
OKLaboklab(63.95% 0.1665 -0.0854)
OKLCHoklch(63.95% 0.187 332.8)
XYZxyz(37.1954, 23.3094, 50.1073)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58BC #58CB67
analogous
#A158CB #CB58BC #CB5883
triadic
#CB58BC #BCCB58 #58BCCB
tetradic
#CB58BC #CBA158 #58CB67 #5883CB
square
#CB58BC #CBA158 #58CB67 #5883CB
split-complementary
#CB58BC #83CB58 #58CBA1
monochromatic
#812875 #AF379F #CB58BC #DA87CF #E8B5E1

Accessibility & contrast

On white

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

On black

5.66
#CB58BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58BC#FFFFFF#000000##000000
##CB58BC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#788BB9
Tritanopia (blue-blind)
#D36082
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb58bc;
/* rgb */ color: rgb(203, 88, 188);
/* oklch */ color: oklch(64.0% 0.187 332.8);
Tailwind
colors: {
  custom: {
    50: '#de8dd0',
    500: '#cb58bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb58bc;
$custom-light: #de8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58bc",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 307.826,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.18717,
    "h": 332.8
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#CB58BC
secondary
#A8D7AE
accent
#DC5F4C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CB58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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