#CB5ED4#CB5ED4

#CB5ED4 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.199 H 324.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CB5ED4
RGBrgb(203, 94, 212)
HSLhsl(295, 58%, 60%)
HSVhsv(295, 56%, 83%)
CMYKcmyk(4.2%, 55.7%, 0%, 16.9%)
CIE-LABlab(57.52, 59.40, -41.69)
CIE-LCHlch(57.52, 72.57, 324.94°)
OKLaboklab(65.88% 0.1617 -0.1153)
OKLCHoklch(65.88% 0.199 324.5)
XYZxyz(40.5140, 25.4576, 65.0544)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ED4 #67D45E
analogous
#905ED4 #CB5ED4 #D45EA2
triadic
#CB5ED4 #D4CB5E #5ED4CB
tetradic
#CB5ED4 #D4905E #67D45E #5EA2D4
square
#CB5ED4 #D4905E #67D45E #5EA2D4
split-complementary
#CB5ED4 #A2D45E #5ED490
monochromatic
#892791 #B634C1 #CB5ED4 #DB8EE1 #EABFEE

Accessibility & contrast

On white

3.45
#CB5ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CB5ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ED4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ED4#FFFFFF#000000##000000
##CB5ED41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#718FD1
Tritanopia (blue-blind)
#CF6E90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb5ed4;
/* rgb */ color: rgb(203, 94, 212);
/* oklch */ color: oklch(65.9% 0.199 324.5);
Tailwind
colors: {
  custom: {
    50: '#dd91e1',
    500: '#cb5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ed4;
$custom-light: #dd91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ed4",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 295.424,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.19862,
    "h": 324.5
  },
  "luminance": 0.25455
}

Semantic roles & 50–950 ramp

primary
#CB5ED4
secondary
#B4DEB0
accent
#E14752
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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