#CD5CF5#CD5CF5

#CD5CF5 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.233 H 316.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CD5CF5
RGBrgb(205, 92, 245)
HSLhsl(284, 88%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.3%, 62.4%, 0%, 3.9%)
CIE-LABlab(59.18, 67.02, -57.53)
CIE-LCHlch(59.18, 88.32, 319.36°)
OKLaboklab(67.71% 0.1678 -0.1613)
OKLCHoklch(67.71% 0.233 316.1)
XYZxyz(45.4829, 27.2277, 89.2281)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CF5 #84F55C
analogous
#805CF5 #CD5CF5 #F55CD0
triadic
#CD5CF5 #F5CD5C #5CF5CD
tetradic
#CD5CF5 #F5805C #84F55C #5CD0F5
square
#CD5CF5 #F5805C #84F55C #5CD0F5
split-complementary
#CD5CF5 #D0F55C #5CF580
monochromatic
#990CCA #BB22F1 #CD5CF5 #DF96F9 #F0CFFC

Accessibility & contrast

On white

3.26
#CD5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CD5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CF5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CF5#FFFFFF#000000##000000
##CD5CF51.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FA
Deuteranopia (green-blind)
#5C92F1
Tritanopia (blue-blind)
#CB78A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5cf5;
/* rgb */ color: rgb(205, 92, 245);
/* oklch */ color: oklch(67.7% 0.233 316.1);
Tailwind
colors: {
  custom: {
    50: '#e091f9',
    500: '#cd5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cf5;
$custom-light: #e091f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cf5",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 284.314,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.23275,
    "h": 316.1
  },
  "luminance": 0.27226
}

Semantic roles & 50–950 ramp

primary
#CD5CF5
secondary
#CAF0BD
accent
#E5003C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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