#CD5FF5#CD5FF5

#CD5FF5 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.1% C 0.229 H 315.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CD5FF5
RGBrgb(205, 95, 245)
HSLhsl(284, 88%, 67%)
HSVhsv(284, 61%, 96%)
CMYKcmyk(16.3%, 61.2%, 0%, 3.9%)
CIE-LABlab(59.67, 65.68, -56.76)
CIE-LCHlch(59.67, 86.81, 319.17°)
OKLaboklab(68.06% 0.1644 -0.159)
OKLCHoklch(68.06% 0.229 315.9)
XYZxyz(45.7479, 27.7577, 89.3164)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FF5 #87F55F
analogous
#825FF5 #CD5FF5 #F55FD2
triadic
#CD5FF5 #F5CD5F #5FF5CD
tetradic
#CD5FF5 #F5825F #87F55F #5FD2F5
square
#CD5FF5 #F5825F #87F55F #5FD2F5
split-complementary
#CD5FF5 #D2F55F #5FF582
monochromatic
#9A0DCD #BB25F1 #CD5FF5 #DF99F9 #F1D2FC

Accessibility & contrast

On white

3.21
#CD5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CD5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FF5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FF5#FFFFFF#000000##000000
##CD5FF51.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FA
Deuteranopia (green-blind)
#5F93F1
Tritanopia (blue-blind)
#CB7AA2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5ff5;
/* rgb */ color: rgb(205, 95, 245);
/* oklch */ color: oklch(68.1% 0.229 315.9);
Tailwind
colors: {
  custom: {
    50: '#e092f9',
    500: '#cd5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ff5;
$custom-light: #e092f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ff5",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 284,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68057,
    "c": 0.22872,
    "h": 315.9
  },
  "luminance": 0.27756
}

Semantic roles & 50–950 ramp

primary
#CD5FF5
secondary
#CDF0C0
accent
#E5013E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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