#CD5AEF#CD5AEF

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

Color values

HEX#CD5AEF
RGBrgb(205, 90, 239)
HSLhsl(286, 82%, 65%)
HSVhsv(286, 62%, 94%)
CMYKcmyk(14.2%, 62.3%, 0%, 6.3%)
CIE-LABlab(58.53, 66.73, -55.23)
CIE-LCHlch(58.53, 86.62, 320.38°)
OKLaboklab(67.13% 0.1701 -0.1546)
OKLCHoklch(67.13% 0.23 317.7)
XYZxyz(44.4108, 26.5253, 84.4251)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AEF #7CEF5A
analogous
#835AEF #CD5AEF #EF5AC6
triadic
#CD5AEF #EFCD5A #5AEFCD
tetradic
#CD5AEF #EF835A #7CEF5A #5AC6EF
square
#CD5AEF #EF835A #7CEF5A #5AC6EF
split-complementary
#CD5AEF #C6EF5A #5AEF83
monochromatic
#9612BC #BC22EA #CD5AEF #DE92F4 #EFCAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5AEF#FFFFFF#000000##000000
##CD5AEF1.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)
#2B85F4
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#CC749D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5aef;
/* rgb */ color: rgb(205, 90, 239);
/* oklch */ color: oklch(67.1% 0.230 317.7);
Tailwind
colors: {
  custom: {
    50: '#e08ff5',
    500: '#cd5aef',
    950: '#000000',
  },
}
SCSS
$custom: #cd5aef;
$custom-light: #e08ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5aef",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 286.309,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67126,
    "c": 0.22986,
    "h": 317.7
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#CD5AEF
secondary
#C4ECB9
accent
#DF0738
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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