#CB5EDC#CB5EDC

#CB5EDC is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.206 H 322.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CB5EDC
RGBrgb(203, 94, 220)
HSLhsl(292, 64%, 62%)
HSVhsv(292, 57%, 86%)
CMYKcmyk(7.7%, 57.3%, 0%, 13.7%)
CIE-LABlab(57.91, 60.87, -45.59)
CIE-LCHlch(57.91, 76.05, 323.17°)
OKLaboklab(66.3% 0.1624 -0.1265)
OKLCHoklch(66.3% 0.206 322.1)
XYZxyz(41.5482, 25.8713, 70.5014)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EDC #6FDC5E
analogous
#8C5EDC #CB5EDC #DC5EAE
triadic
#CB5EDC #DCCB5E #5EDCCB
tetradic
#CB5EDC #DC8C5E #6FDC5E #5EAEDC
square
#CB5EDC #DC8C5E #6FDC5E #5EAEDC
split-complementary
#CB5EDC #AEDC5E #5EDC8C
monochromatic
#8D229D #BA2DD0 #CB5EDC #DB90E7 #EBC3F2

Accessibility & contrast

On white

3.40
#CB5EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CB5EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EDC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EDC#FFFFFF#000000##000000
##CB5EDC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#6D8FD9
Tritanopia (blue-blind)
#CD7094
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5edc;
/* rgb */ color: rgb(203, 94, 220);
/* oklch */ color: oklch(66.3% 0.206 322.1);
Tailwind
colors: {
  custom: {
    50: '#de91e7',
    500: '#cb5edc',
    950: '#000000',
  },
}
SCSS
$custom: #cb5edc;
$custom-light: #de91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5edc",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 291.905,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66297,
    "c": 0.20589,
    "h": 322.1
  },
  "luminance": 0.25869
}

Semantic roles & 50–950 ramp

primary
#CB5EDC
secondary
#BAE2B3
accent
#CC1932
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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