#CB5FC7#CB5FC7

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

Color values

HEX#CB5FC7
RGBrgb(203, 95, 199)
HSLhsl(302, 51%, 58%)
HSVhsv(302, 53%, 80%)
CMYKcmyk(0%, 53.2%, 2%, 20.4%)
CIE-LABlab(57.08, 56.63, -34.99)
CIE-LCHlch(57.08, 66.57, 328.29°)
OKLaboklab(65.36% 0.1589 -0.096)
OKLCHoklch(65.36% 0.186 328.9)
XYZxyz(39.0291, 25.0068, 56.7928)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FC7 #5FCB63
analogous
#995FCB #CB5FC7 #CB5F91
triadic
#CB5FC7 #C7CB5F #5FC7CB
tetradic
#CB5FC7 #CB995F #5FCB63 #5F91CB
square
#CB5FC7 #CB995F #5FCB63 #5F91CB
split-complementary
#CB5FC7 #91CB5F #5FCB99
monochromatic
#852B81 #B33AAE #CB5FC7 #DA8DD7 #E9BBE7

Accessibility & contrast

On white

3.50
#CB5FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CB5FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FC7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FC7#FFFFFF#000000##000000
##CB5FC71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#D16A8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5fc7;
/* rgb */ color: rgb(203, 95, 199);
/* oklch */ color: oklch(65.4% 0.186 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd91d8',
    500: '#cb5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fc7;
$custom-light: #dd91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fc7",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 302.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65359,
    "c": 0.18563,
    "h": 328.9
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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