#CD5EF5#CD5EF5

#CD5EF5 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.9% C 0.230 H 316.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CD5EF5
RGBrgb(205, 94, 245)
HSLhsl(284, 88%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.3%, 61.6%, 0%, 3.9%)
CIE-LABlab(59.51, 66.13, -57.02)
CIE-LCHlch(59.51, 87.32, 319.23°)
OKLaboklab(67.94% 0.1655 -0.1598)
OKLCHoklch(67.94% 0.23 316)
XYZxyz(45.6584, 27.5787, 89.2866)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EF5 #86F55E
analogous
#825EF5 #CD5EF5 #F55ED2
triadic
#CD5EF5 #F5CD5E #5EF5CD
tetradic
#CD5EF5 #F5825E #86F55E #5ED2F5
square
#CD5EF5 #F5825E #86F55E #5ED2F5
split-complementary
#CD5EF5 #D2F55E #5EF582
monochromatic
#990DCC #BB24F1 #CD5EF5 #DF98F9 #F1D1FC

Accessibility & contrast

On white

3.22
#CD5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CD5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EF5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EF5#FFFFFF#000000##000000
##CD5EF51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FA
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#CB79A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd5ef5;
/* rgb */ color: rgb(205, 94, 245);
/* oklch */ color: oklch(67.9% 0.230 316.0);
Tailwind
colors: {
  custom: {
    50: '#e092f9',
    500: '#cd5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ef5;
$custom-light: #e092f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ef5",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 284.106,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67938,
    "c": 0.23007,
    "h": 316
  },
  "luminance": 0.27577
}

Semantic roles & 50–950 ramp

primary
#CD5EF5
secondary
#CCF0BF
accent
#E5013D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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