#CD5FDF#CD5FDF

#CD5FDF is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.8% C 0.208 H 321.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CD5FDF
RGBrgb(205, 95, 223)
HSLhsl(292, 67%, 62%)
HSVhsv(292, 57%, 87%)
CMYKcmyk(8.1%, 57.4%, 0%, 12.5%)
CIE-LABlab(58.50, 61.47, -46.33)
CIE-LCHlch(58.50, 76.97, 323.00°)
OKLaboklab(66.83% 0.1637 -0.1287)
OKLCHoklch(66.83% 0.208 321.8)
XYZxyz(42.5869, 26.4933, 72.6682)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FDF #71DF5F
analogous
#8D5FDF #CD5FDF #DF5FB1
triadic
#CD5FDF #DFCD5F #5FDFCD
tetradic
#CD5FDF #DF8D5F #71DF5F #5FB1DF
square
#CD5FDF #DF8D5F #71DF5F #5FB1DF
split-complementary
#CD5FDF #B1DF5F #5FDF8D
monochromatic
#9121A3 #BD2CD5 #CD5FDF #DD92E9 #EDC5F3

Accessibility & contrast

On white

3.33
#CD5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CD5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FDF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FDF#FFFFFF#000000##000000
##CD5FDF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#6E91DC
Tritanopia (blue-blind)
#CF7296
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5fdf;
/* rgb */ color: rgb(205, 95, 223);
/* oklch */ color: oklch(66.8% 0.208 321.8);
Tailwind
colors: {
  custom: {
    50: '#df92e9',
    500: '#cd5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fdf;
$custom-light: #df92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fdf",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 291.563,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6683,
    "c": 0.20817,
    "h": 321.8
  },
  "luminance": 0.26491
}

Semantic roles & 50–950 ramp

primary
#CD5FDF
secondary
#BCE4B6
accent
#CF1731
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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