#CD5FE2#CD5FE2

#CD5FE2 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.0% C 0.211 H 321.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE2
RGBrgb(205, 95, 226)
HSLhsl(290, 69%, 63%)
HSVhsv(290, 58%, 89%)
CMYKcmyk(9.3%, 58%, 0%, 11.4%)
CIE-LABlab(58.66, 62.03, -47.77)
CIE-LCHlch(58.66, 78.29, 322.40°)
OKLaboklab(66.99% 0.1638 -0.1328)
OKLCHoklch(66.99% 0.211 321)
XYZxyz(42.9949, 26.6565, 74.8173)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE2 #74E25F
analogous
#8C5FE2 #CD5FE2 #E25FB5
triadic
#CD5FE2 #E2CD5F #5FE2CD
tetradic
#CD5FE2 #E28C5F #74E25F #5FB5E2
square
#CD5FE2 #E28C5F #74E25F #5FB5E2
split-complementary
#CD5FE2 #B5E25F #5FE28C
monochromatic
#921EA8 #BD2BD9 #CD5FE2 #DD93EB #EDC7F5

Accessibility & contrast

On white

3.32
#CD5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CD5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE2#FFFFFF#000000##000000
##CD5FE21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#6C91DF
Tritanopia (blue-blind)
#CF7398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5fe2;
/* rgb */ color: rgb(205, 95, 226);
/* oklch */ color: oklch(67.0% 0.211 321.0);
Tailwind
colors: {
  custom: {
    50: '#df92eb',
    500: '#cd5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe2;
$custom-light: #df92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe2",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 290.382,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.21093,
    "h": 321
  },
  "luminance": 0.26655
}

Semantic roles & 50–950 ramp

primary
#CD5FE2
secondary
#BEE6B7
accent
#D11433
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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