#CD5FFE#CD5FFE

#CD5FFE is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.6% C 0.237 H 313.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#CD5FFE
RGBrgb(205, 95, 254)
HSLhsl(282, 99%, 68%)
HSVhsv(282, 63%, 100%)
CMYKcmyk(19.3%, 62.6%, 0%, 0.4%)
CIE-LABlab(60.18, 67.47, -60.92)
CIE-LCHlch(60.18, 90.91, 317.92°)
OKLaboklab(68.59% 0.1642 -0.1712)
OKLCHoklch(68.59% 0.237 313.8)
XYZxyz(47.1554, 28.3207, 96.7291)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FFE #90FE5F
analogous
#7D5FFE #CD5FFE #FE5FE0
triadic
#CD5FFE #FECD5F #5FFECD
tetradic
#CD5FFE #FE7D5F #90FE5F #5FE0FE
square
#CD5FFE #FE7D5F #90FE5F #5FE0FE
split-complementary
#CD5FFE #E0FE5F #5FFE7D
monochromatic
#9C01E1 #BA22FE #CD5FFE #E09CFE #F3D9FF

Accessibility & contrast

On white

3.15
#CD5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#CD5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FFE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FFE#FFFFFF#000000##000000
##CD5FFE1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8BFF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#C87DA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd5ffe;
/* rgb */ color: rgb(205, 95, 254);
/* oklch */ color: oklch(68.6% 0.237 313.8);
Tailwind
colors: {
  custom: {
    50: '#e093ff',
    500: '#cd5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ffe;
$custom-light: #e093ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ffe",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 281.509,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.23727,
    "h": 313.8
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#CD5FFE
secondary
#D3F4C4
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CD5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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