#CB5FC8#CB5FC8

#CB5FC8 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.4% C 0.186 H 328.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CB5FC8
RGBrgb(203, 95, 200)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 53%, 80%)
CMYKcmyk(0%, 53.2%, 1.5%, 20.4%)
CIE-LABlab(57.13, 56.80, -35.49)
CIE-LCHlch(57.13, 66.98, 328.00°)
OKLaboklab(65.41% 0.159 -0.0974)
OKLCHoklch(65.41% 0.186 328.5)
XYZxyz(39.1456, 25.0534, 57.4063)
Luminance0.2505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FC8 #5FCB62
analogous
#985FCB #CB5FC8 #CB5F92
triadic
#CB5FC8 #C8CB5F #5FC8CB
tetradic
#CB5FC8 #CB985F #5FCB62 #5F92CB
square
#CB5FC8 #CB985F #5FCB62 #5F92CB
split-complementary
#CB5FC8 #92CB5F #5FCB98
monochromatic
#852B82 #B33AAF #CB5FC8 #DA8DD8 #E9BBE8

Accessibility & contrast

On white

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

On black

6.01
#CB5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FC8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FC8#FFFFFF#000000##000000
##CB5FC81.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#788EC5
Tritanopia (blue-blind)
#D16A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5fc8;
/* rgb */ color: rgb(203, 95, 200);
/* oklch */ color: oklch(65.4% 0.186 328.5);
Tailwind
colors: {
  custom: {
    50: '#dd91d9',
    500: '#cb5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fc8;
$custom-light: #dd91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fc8",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 301.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.18649,
    "h": 328.5
  },
  "luminance": 0.25051
}

Semantic roles & 50–950 ramp

primary
#CB5FC8
secondary
#ADD8AF
accent
#DA514D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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