#CB58BD#CB58BD

#CB58BD is a light, vivid purple. Relative luminance 0.234; OKLCH L 64.0% C 0.188 H 332.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CB58BD
RGBrgb(203, 88, 189)
HSLhsl(307, 53%, 57%)
HSVhsv(307, 57%, 80%)
CMYKcmyk(0%, 56.7%, 6.9%, 20.4%)
CIE-LABlab(55.43, 58.17, -31.83)
CIE-LCHlch(55.43, 66.31, 331.31°)
OKLaboklab(64% 0.1667 -0.0869)
OKLCHoklch(64% 0.188 332.5)
XYZxyz(37.3036, 23.3527, 50.6770)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58BD #58CB66
analogous
#9F58CB #CB58BD #CB5884
triadic
#CB58BD #BDCB58 #58BDCB
tetradic
#CB58BD #CB9F58 #58CB66 #5884CB
square
#CB58BD #CB9F58 #58CB66 #5884CB
split-complementary
#CB58BD #84CB58 #58CB9F
monochromatic
#812876 #AF37A1 #CB58BD #DA87CF #E8B5E2

Accessibility & contrast

On white

3.70
#CB58BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CB58BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58BD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58BD#FFFFFF#000000##000000
##CB58BD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#D36182
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb58bd;
/* rgb */ color: rgb(203, 88, 189);
/* oklch */ color: oklch(64.0% 0.188 332.5);
Tailwind
colors: {
  custom: {
    50: '#de8dd1',
    500: '#cb58bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb58bd;
$custom-light: #de8dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58bd",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 307.304,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64001,
    "c": 0.18796,
    "h": 332.5
  },
  "luminance": 0.2335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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