#CB5FC9#CB5FC9

#CB5FC9 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.187 H 328.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CB5FC9
RGBrgb(203, 95, 201)
HSLhsl(301, 51%, 58%)
HSVhsv(301, 53%, 80%)
CMYKcmyk(0%, 53.2%, 1%, 20.4%)
CIE-LABlab(57.17, 56.98, -35.99)
CIE-LCHlch(57.17, 67.39, 327.72°)
OKLaboklab(65.46% 0.1592 -0.0988)
OKLCHoklch(65.46% 0.187 328.2)
XYZxyz(39.2629, 25.1003, 58.0238)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FC9 #5FCB61
analogous
#975FCB #CB5FC9 #CB5F93
triadic
#CB5FC9 #C9CB5F #5FC9CB
tetradic
#CB5FC9 #CB975F #5FCB61 #5F93CB
square
#CB5FC9 #CB975F #5FCB61 #5F93CB
split-complementary
#CB5FC9 #93CB5F #5FCB97
monochromatic
#852B83 #B33AB0 #CB5FC9 #DA8DD9 #E9BBE8

Accessibility & contrast

On white

3.49
#CB5FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CB5FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FC9
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FC9#FFFFFF#000000##000000
##CB5FC91.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CC
Deuteranopia (green-blind)
#778EC6
Tritanopia (blue-blind)
#D16B8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5fc9;
/* rgb */ color: rgb(203, 95, 201);
/* oklch */ color: oklch(65.5% 0.187 328.2);
Tailwind
colors: {
  custom: {
    50: '#dd91da',
    500: '#cb5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fc9;
$custom-light: #dd91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fc9",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 301.111,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65456,
    "c": 0.18735,
    "h": 328.2
  },
  "luminance": 0.25098
}

Semantic roles & 50–950 ramp

primary
#CB5FC9
secondary
#ADD8AE
accent
#DA504D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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