#CB5FC4#CB5FC4

#CB5FC4 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.183 H 329.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CB5FC4
RGBrgb(203, 95, 196)
HSLhsl(304, 51%, 58%)
HSVhsv(304, 53%, 80%)
CMYKcmyk(0%, 53.2%, 3.4%, 20.4%)
CIE-LABlab(56.95, 56.11, -33.49)
CIE-LCHlch(56.95, 65.34, 329.17°)
OKLaboklab(65.22% 0.1584 -0.0917)
OKLCHoklch(65.22% 0.183 329.9)
XYZxyz(38.6843, 24.8689, 54.9765)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FC4 #5FCB66
analogous
#9C5FCB #CB5FC4 #CB5F8E
triadic
#CB5FC4 #C4CB5F #5FC4CB
tetradic
#CB5FC4 #CB9C5F #5FCB66 #5F8ECB
square
#CB5FC4 #CB9C5F #5FCB66 #5F8ECB
split-complementary
#CB5FC4 #8ECB5F #5FCB9C
monochromatic
#852B7F #B33AAB #CB5FC4 #DA8DD5 #E9BBE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5FC4#FFFFFF#000000##000000
##CB5FC41.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)
#587FC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D26989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5fc4;
/* rgb */ color: rgb(203, 95, 196);
/* oklch */ color: oklch(65.2% 0.183 329.9);
Tailwind
colors: {
  custom: {
    50: '#dd91d6',
    500: '#cb5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fc4;
$custom-light: #dd91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fc4",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 303.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65216,
    "c": 0.18305,
    "h": 329.9
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#CB5FC4
secondary
#ADD8B0
accent
#DA574D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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