#CB5FC2#CB5FC2

#CB5FC2 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.1% C 0.181 H 330.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CB5FC2
RGBrgb(203, 95, 194)
HSLhsl(305, 51%, 58%)
HSVhsv(305, 53%, 80%)
CMYKcmyk(0%, 53.2%, 4.4%, 20.4%)
CIE-LABlab(56.86, 55.77, -32.48)
CIE-LCHlch(56.86, 64.54, 329.78°)
OKLaboklab(65.12% 0.1581 -0.0888)
OKLCHoklch(65.12% 0.181 330.7)
XYZxyz(38.4581, 24.7784, 53.7856)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FC2 #5FCB68
analogous
#9E5FCB #CB5FC2 #CB5F8C
triadic
#CB5FC2 #C2CB5F #5FC2CB
tetradic
#CB5FC2 #CB9E5F #5FCB68 #5F8CCB
square
#CB5FC2 #CB9E5F #5FCB68 #5F8CCB
split-complementary
#CB5FC2 #8CCB5F #5FCB9E
monochromatic
#852B7D #B33AA9 #CB5FC2 #DA8DD4 #E9BBE5

Accessibility & contrast

On white

3.53
#CB5FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CB5FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FC2#FFFFFF#000000##000000
##CB5FC21.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#D26888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb5fc2;
/* rgb */ color: rgb(203, 95, 194);
/* oklch */ color: oklch(65.1% 0.181 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd91d4',
    500: '#cb5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fc2;
$custom-light: #dd91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fc2",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 305,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65122,
    "c": 0.18136,
    "h": 330.7
  },
  "luminance": 0.24776
}

Semantic roles & 50–950 ramp

primary
#CB5FC2
secondary
#ADD8B1
accent
#DA594D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CB5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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