#CD5EF1#CD5EF1

#CD5EF1 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.226 H 317.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CD5EF1
RGBrgb(205, 94, 241)
HSLhsl(285, 84%, 66%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(14.9%, 61%, 0%, 5.5%)
CIE-LABlab(59.29, 65.35, -55.15)
CIE-LCHlch(59.29, 85.51, 319.84°)
OKLaboklab(67.71% 0.1655 -0.1543)
OKLCHoklch(67.71% 0.226 317)
XYZxyz(45.0544, 27.3371, 86.1053)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EF1 #82F15E
analogous
#835EF1 #CD5EF1 #F15ECB
triadic
#CD5EF1 #F1CD5E #5EF1CD
tetradic
#CD5EF1 #F1835E #82F15E #5ECBF1
square
#CD5EF1 #F1835E #82F15E #5ECBF1
split-complementary
#CD5EF1 #CBF15E #5EF183
monochromatic
#9811C4 #BC26EC #CD5EF1 #DE96F6 #F0CFFB

Accessibility & contrast

On white

3.25
#CD5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CD5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EF1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EF1#FFFFFF#000000##000000
##CD5EF11.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#CC789F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5ef1;
/* rgb */ color: rgb(205, 94, 241);
/* oklch */ color: oklch(67.7% 0.226 317.0);
Tailwind
colors: {
  custom: {
    50: '#e092f6',
    500: '#cd5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ef1;
$custom-light: #e092f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ef1",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 285.306,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.22631,
    "h": 317
  },
  "luminance": 0.27335
}

Semantic roles & 50–950 ramp

primary
#CD5EF1
secondary
#C9EEBD
accent
#E0053B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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