#CD5FF4#CD5FF4

#CD5FF4 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.0% C 0.228 H 316.2°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#CD5FF4
RGBrgb(205, 95, 244)
HSLhsl(284, 87%, 66%)
HSVhsv(284, 61%, 96%)
CMYKcmyk(16%, 61.1%, 0%, 4.3%)
CIE-LABlab(59.61, 65.49, -56.29)
CIE-LCHlch(59.61, 86.36, 319.32°)
OKLaboklab(68% 0.1644 -0.1577)
OKLCHoklch(68% 0.228 316.2)
XYZxyz(45.5957, 27.6968, 88.5146)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FF4 #86F45F
analogous
#835FF4 #CD5FF4 #F45FD1
triadic
#CD5FF4 #F4CD5F #5FF4CD
tetradic
#CD5FF4 #F4835F #86F45F #5FD1F4
square
#CD5FF4 #F4835F #86F45F #5FD1F4
split-complementary
#CD5FF4 #D1F45F #5FF483
monochromatic
#990ECB #BB26F0 #CD5FF4 #DF98F8 #F1D2FC

Accessibility & contrast

On white

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

On black

6.54
#CD5FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FF4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FF4#FFFFFF#000000##000000
##CD5FF41.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F89F9
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#CB79A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd5ff4;
/* rgb */ color: rgb(205, 95, 244);
/* oklch */ color: oklch(68.0% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#e092f8',
    500: '#cd5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ff4;
$custom-light: #e092f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ff4",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 284.295,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.22777,
    "h": 316.2
  },
  "luminance": 0.27695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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