#CD4EF5#CD4EF5

#CD4EF5 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.2% C 0.250 H 316.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CD4EF5
RGBrgb(205, 78, 245)
HSLhsl(286, 89%, 63%)
HSVhsv(286, 68%, 96%)
CMYKcmyk(16.3%, 68.2%, 0%, 3.9%)
CIE-LABlab(57.10, 72.83, -60.87)
CIE-LCHlch(57.10, 94.92, 320.11°)
OKLaboklab(66.2% 0.1828 -0.171)
OKLCHoklch(66.2% 0.25 316.9)
XYZxyz(44.3802, 25.0223, 88.8605)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4EF5 #76F54E
analogous
#794EF5 #CD4EF5 #F54EC9
triadic
#CD4EF5 #F5CD4E #4EF5CD
tetradic
#CD4EF5 #F5794E #76F54E #4EC9F5
square
#CD4EF5 #F5794E #76F54E #4EC9F5
split-complementary
#CD4EF5 #C9F54E #4EF579
monochromatic
#930BBE #BD14F2 #CD4EF5 #DD88F8 #EEC2FC

Accessibility & contrast

On white

3.50
#CD4EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CD4EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4EF5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4EF5#FFFFFF#000000##000000
##CD4EF51.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#CB6F9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4ef5;
/* rgb */ color: rgb(205, 78, 245);
/* oklch */ color: oklch(66.2% 0.250 316.9);
Tailwind
colors: {
  custom: {
    50: '#e089f9',
    500: '#cd4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ef5;
$custom-light: #e089f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ef5",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 285.629,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66204,
    "c": 0.25034,
    "h": 316.9
  },
  "luminance": 0.2502
}

Semantic roles & 50–950 ramp

primary
#CD4EF5
secondary
#C0EDB2
accent
#E60037
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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