#CD91E5#CD91E5

#CD91E5 is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.5% C 0.133 H 315.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CD91E5
RGBrgb(205, 145, 229)
HSLhsl(283, 62%, 73%)
HSVhsv(283, 37%, 90%)
CMYKcmyk(10.5%, 36.7%, 0%, 10.2%)
CIE-LABlab(68.67, 37.17, -33.74)
CIE-LCHlch(68.67, 50.20, 317.76°)
OKLaboklab(74.48% 0.0958 -0.0927)
OKLCHoklch(74.48% 0.133 315.9)
XYZxyz(49.4430, 38.8882, 79.0152)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91E5 #A9E591
analogous
#A391E5 #CD91E5 #E591D3
triadic
#CD91E5 #E5CD91 #91E5CD
tetradic
#CD91E5 #E5A391 #A9E591 #91D3E5
square
#CD91E5 #E5A391 #A9E591 #91D3E5
split-complementary
#CD91E5 #D3E591 #91E5A3
monochromatic
#9F30CB #B65FD9 #CD91E5 #E3C2F1 #F4E6F9

Accessibility & contrast

On white

2.39
#CD91E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CD91E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91E5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91E5#FFFFFF#000000##000000
##CD91E51.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A4E8
Deuteranopia (green-blind)
#92A9E2
Tritanopia (blue-blind)
#CC9CB0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd91e5;
/* rgb */ color: rgb(205, 145, 229);
/* oklch */ color: oklch(74.5% 0.133 315.9);
Tailwind
colors: {
  custom: {
    50: '#ddb2ed',
    500: '#cd91e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd91e5;
$custom-light: #ddb2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91e5",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 229
  },
  "hsl": {
    "h": 282.857,
    "s": 61.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74482,
    "c": 0.13337,
    "h": 315.9
  },
  "luminance": 0.38887
}

Semantic roles & 50–950 ramp

primary
#CD91E5
secondary
#E1F1DA
accent
#C91C4E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91E5

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

Preview Lab → · Contrast checker → · Palette generator →

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