#CB58C7#CB58C7

#CB58C7 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.5% C 0.196 H 328.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CB58C7
RGBrgb(203, 88, 199)
HSLhsl(302, 53%, 57%)
HSVhsv(302, 57%, 80%)
CMYKcmyk(0%, 56.7%, 2%, 20.4%)
CIE-LABlab(55.89, 59.85, -36.86)
CIE-LCHlch(55.89, 70.29, 328.37°)
OKLaboklab(64.48% 0.168 -0.1013)
OKLCHoklch(64.48% 0.196 328.9)
XYZxyz(38.4267, 23.8019, 56.5920)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB58C7 #58CB5C
analogous
#9658CB #CB58C7 #CB588E
triadic
#CB58C7 #C7CB58 #58C7CB
tetradic
#CB58C7 #CB9658 #58CB5C #588ECB
square
#CB58C7 #CB9658 #58CB5C #588ECB
split-complementary
#CB58C7 #8ECB58 #58CB96
monochromatic
#81287D #AF37AB #CB58C7 #DA87D7 #E8B5E6

Accessibility & contrast

On white

3.65
#CB58C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CB58C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB58C7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB58C7#FFFFFF#000000##000000
##CB58C71.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCA
Deuteranopia (green-blind)
#748BC4
Tritanopia (blue-blind)
#D16487
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb58c7;
/* rgb */ color: rgb(203, 88, 199);
/* oklch */ color: oklch(64.5% 0.196 328.9);
Tailwind
colors: {
  custom: {
    50: '#de8dd8',
    500: '#cb58c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb58c7;
$custom-light: #de8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb58c7",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 302.087,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64483,
    "c": 0.19619,
    "h": 328.9
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#CB58C7
secondary
#A8D7AA
accent
#DC514C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB58C7

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

Preview Lab → · Contrast checker → · Palette generator →

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