#CB5ED2#CB5ED2

#CB5ED2 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.197 H 325.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CB5ED2
RGBrgb(203, 94, 210)
HSLhsl(296, 56%, 60%)
HSVhsv(296, 55%, 82%)
CMYKcmyk(3.3%, 55.2%, 0%, 17.6%)
CIE-LABlab(57.42, 59.04, -40.71)
CIE-LCHlch(57.42, 71.72, 325.41°)
OKLaboklab(65.78% 0.1615 -0.1124)
OKLCHoklch(65.78% 0.197 325.2)
XYZxyz(40.2632, 25.3573, 63.7339)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ED2 #65D25E
analogous
#915ED2 #CB5ED2 #D25E9F
triadic
#CB5ED2 #D2CB5E #5ED2CB
tetradic
#CB5ED2 #D2915E #65D25E #5E9FD2
square
#CB5ED2 #D2915E #65D25E #5E9FD2
split-complementary
#CB5ED2 #9FD25E #5ED291
monochromatic
#88288E #B635BE #CB5ED2 #DA8EDF #EABEED

Accessibility & contrast

On white

3.46
#CB5ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#CB5ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ED2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ED2#FFFFFF#000000##000000
##CB5ED21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D6
Deuteranopia (green-blind)
#728FCF
Tritanopia (blue-blind)
#CF6D8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb5ed2;
/* rgb */ color: rgb(203, 94, 210);
/* oklch */ color: oklch(65.8% 0.197 325.2);
Tailwind
colors: {
  custom: {
    50: '#dd91e0',
    500: '#cb5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ed2;
$custom-light: #dd91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ed2",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 296.379,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65776,
    "c": 0.19682,
    "h": 325.2
  },
  "luminance": 0.25355
}

Semantic roles & 50–950 ramp

primary
#CB5ED2
secondary
#B2DCAF
accent
#E04851
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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