#CB58BA#CB58BA

#CB58BA is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.9% C 0.186 H 333.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CB58BA
RGBrgb(203, 88, 186)
HSLhsl(309, 53%, 57%)
HSVhsv(309, 57%, 80%)
CMYKcmyk(0%, 56.7%, 8.4%, 20.4%)
CIE-LABlab(55.30, 57.68, -30.31)
CIE-LCHlch(55.30, 65.16, 332.28°)
OKLaboklab(63.86% 0.1662 -0.0825)
OKLCHoklch(63.86% 0.186 333.6)
XYZxyz(36.9813, 23.2238, 48.9797)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58BA #58CB69
analogous
#A358CB #CB58BA #CB5880
triadic
#CB58BA #BACB58 #58BACB
tetradic
#CB58BA #CBA358 #58CB69 #5880CB
square
#CB58BA #CBA358 #58CB69 #5880CB
split-complementary
#CB58BA #80CB58 #58CBA3
monochromatic
#812873 #AF379D #CB58BA #DA87CD #E8B5E1

Accessibility & contrast

On white

3.72
#CB58BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CB58BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58BA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58BA#FFFFFF#000000##000000
##CB58BA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#798BB7
Tritanopia (blue-blind)
#D36081
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb58ba;
/* rgb */ color: rgb(203, 88, 186);
/* oklch */ color: oklch(63.9% 0.186 333.6);
Tailwind
colors: {
  custom: {
    50: '#de8dcf',
    500: '#cb58ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb58ba;
$custom-light: #de8dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58ba",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 308.87,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.18558,
    "h": 333.6
  },
  "luminance": 0.23221
}

Semantic roles & 50–950 ramp

primary
#CB58BA
secondary
#A8D7AF
accent
#DC614C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CB58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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