#CB58B8#CB58B8

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

Color values

HEX#CB58B8
RGBrgb(203, 88, 184)
HSLhsl(310, 53%, 57%)
HSVhsv(310, 57%, 80%)
CMYKcmyk(0%, 56.7%, 9.4%, 20.4%)
CIE-LABlab(55.22, 57.36, -29.29)
CIE-LCHlch(55.22, 64.41, 332.95°)
OKLaboklab(63.77% 0.1659 -0.0796)
OKLCHoklch(63.77% 0.184 334.4)
XYZxyz(36.7702, 23.1393, 47.8678)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58B8 #58CB6B
analogous
#A558CB #CB58B8 #CB587F
triadic
#CB58B8 #B8CB58 #58B8CB
tetradic
#CB58B8 #CBA558 #58CB6B #587FCB
square
#CB58B8 #CBA558 #58CB6B #587FCB
split-complementary
#CB58B8 #7FCB58 #58CBA5
monochromatic
#812872 #AF379B #CB58B8 #DA87CC #E8B5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB58B8#FFFFFF#000000##000000
##CB58B81.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)
#5779BB
Deuteranopia (green-blind)
#7A8AB5
Tritanopia (blue-blind)
#D45F80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb58b8;
/* rgb */ color: rgb(203, 88, 184);
/* oklch */ color: oklch(63.8% 0.184 334.4);
Tailwind
colors: {
  custom: {
    50: '#de8dcd',
    500: '#cb58b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb58b8;
$custom-light: #de8dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58b8",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 309.913,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.184,
    "h": 334.4
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#CB58B8
secondary
#A8D7B0
accent
#DC644C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D13
muted
#837D82

Preview Lab

Preview with #CB58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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