#CB58DC#CB58DC

#CB58DC is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.214 H 322.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CB58DC
RGBrgb(203, 88, 220)
HSLhsl(292, 65%, 60%)
HSVhsv(292, 60%, 86%)
CMYKcmyk(7.7%, 60%, 0%, 13.7%)
CIE-LABlab(56.92, 63.57, -47.15)
CIE-LCHlch(56.92, 79.15, 323.43°)
OKLaboklab(65.58% 0.1698 -0.1311)
OKLCHoklch(65.58% 0.214 322.3)
XYZxyz(41.0353, 24.8454, 70.3304)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58DC #69DC58
analogous
#8958DC #CB58DC #DC58AB
triadic
#CB58DC #DCCB58 #58DCCB
tetradic
#CB58DC #DC8958 #69DC58 #58ABDC
square
#CB58DC #DC8958 #69DC58 #58ABDC
split-complementary
#CB58DC #ABDC58 #58DC89
monochromatic
#8A2099 #B72BCC #CB58DC #DB8BE7 #EBBDF1

Accessibility & contrast

On white

3.52
#CB58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CB58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58DC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58DC#FFFFFF#000000##000000
##CB58DC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E0
Deuteranopia (green-blind)
#698DD9
Tritanopia (blue-blind)
#CE6C92
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb58dc;
/* rgb */ color: rgb(203, 88, 220);
/* oklch */ color: oklch(65.6% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#de8ee7',
    500: '#cb58dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb58dc;
$custom-light: #de8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58dc",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 292.273,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65575,
    "c": 0.21446,
    "h": 322.3
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#CB58DC
secondary
#B5E1AF
accent
#CD1830
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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