#CB58CB#CB58CB

#CB58CB is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.7% C 0.200 H 327.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CB58CB
RGBrgb(203, 88, 203)
HSLhsl(300, 53%, 57%)
HSVhsv(300, 57%, 80%)
CMYKcmyk(0%, 56.7%, 0%, 20.4%)
CIE-LABlab(56.08, 60.54, -38.84)
CIE-LCHlch(56.08, 71.93, 327.31°)
OKLaboklab(64.68% 0.1685 -0.107)
OKLCHoklch(64.68% 0.2 327.6)
XYZxyz(38.8972, 23.9901, 59.0701)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58CB #58CB58
analogous
#9258CB #CB58CB #CB5892
triadic
#CB58CB #CBCB58 #58CBCB
tetradic
#CB58CB #CB9258 #58CB58 #5892CB
square
#CB58CB #CB9258 #58CB58 #5892CB
split-complementary
#CB58CB #92CB58 #58CB92
monochromatic
#812881 #AF37AF #CB58CB #DA87DA #E8B5E8

Accessibility & contrast

On white

3.62
#CB58CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CB58CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58CB#FFFFFF#000000##000000
##CB58CB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#D16689
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb58cb;
/* rgb */ color: rgb(203, 88, 203);
/* oklch */ color: oklch(64.7% 0.200 327.6);
Tailwind
colors: {
  custom: {
    50: '#de8ddb',
    500: '#cb58cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb58cb;
$custom-light: #de8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58cb",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.19959,
    "h": 327.6
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#CB58CB
secondary
#A8D7A8
accent
#DC4C4C
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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