#CD5DF0#CD5DF0

#CD5DF0 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.227 H 317.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CD5DF0
RGBrgb(205, 93, 240)
HSLhsl(286, 83%, 65%)
HSVhsv(286, 61%, 94%)
CMYKcmyk(14.6%, 61.2%, 0%, 5.9%)
CIE-LABlab(59.07, 65.60, -54.94)
CIE-LCHlch(59.07, 85.57, 320.06°)
OKLaboklab(67.53% 0.1667 -0.1537)
OKLCHoklch(67.53% 0.227 317.3)
XYZxyz(44.8171, 27.1009, 85.2914)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DF0 #80F05D
analogous
#835DF0 #CD5DF0 #F05DCA
triadic
#CD5DF0 #F0CD5D #5DF0CD
tetradic
#CD5DF0 #F0835D #80F05D #5DCAF0
square
#CD5DF0 #F0835D #80F05D #5DCAF0
split-complementary
#CD5DF0 #CAF05D #5DF083
monochromatic
#9712C1 #BC25EB #CD5DF0 #DE95F5 #F0CDFA

Accessibility & contrast

On white

3.27
#CD5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CD5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DF0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DF0#FFFFFF#000000##000000
##CD5DF01.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3087F5
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#CC769E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5df0;
/* rgb */ color: rgb(205, 93, 240);
/* oklch */ color: oklch(67.5% 0.227 317.3);
Tailwind
colors: {
  custom: {
    50: '#e091f5',
    500: '#cd5df0',
    950: '#000000',
  },
}
SCSS
$custom: #cd5df0;
$custom-light: #e091f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5df0",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 285.714,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67532,
    "c": 0.22673,
    "h": 317.3
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#CD5DF0
secondary
#C7EDBC
accent
#DF063A
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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