#CD91E1#CD91E1

#CD91E1 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.3% C 0.129 H 317.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CD91E1
RGBrgb(205, 145, 225)
HSLhsl(285, 57%, 73%)
HSVhsv(285, 36%, 88%)
CMYKcmyk(8.9%, 35.6%, 0%, 11.8%)
CIE-LABlab(68.51, 36.35, -31.79)
CIE-LCHlch(68.51, 48.29, 318.83°)
OKLaboklab(74.31% 0.0949 -0.0872)
OKLCHoklch(74.31% 0.129 317.4)
XYZxyz(48.8909, 38.6674, 76.1076)
Luminance0.3867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91E1 #A5E191
analogous
#A591E1 #CD91E1 #E191CD
triadic
#CD91E1 #E1CD91 #91E1CD
tetradic
#CD91E1 #E1A591 #A5E191 #91CDE1
square
#CD91E1 #E1A591 #A5E191 #91CDE1
split-complementary
#CD91E1 #CDE191 #91E1A5
monochromatic
#9F35C3 #B761D4 #CD91E1 #E3C1EE #F4E7F8

Accessibility & contrast

On white

2.40
#CD91E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CD91E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91E1
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91E1#FFFFFF#000000##000000
##CD91E11.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E4
Deuteranopia (green-blind)
#94A9DF
Tritanopia (blue-blind)
#CD9BAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd91e1;
/* rgb */ color: rgb(205, 145, 225);
/* oklch */ color: oklch(74.3% 0.129 317.4);
Tailwind
colors: {
  custom: {
    50: '#ddb2ea',
    500: '#cd91e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd91e1;
$custom-light: #ddb2ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91e1",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 225
  },
  "hsl": {
    "h": 285,
    "s": 57.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.12889,
    "h": 317.4
  },
  "luminance": 0.38666
}

Semantic roles & 50–950 ramp

primary
#CD91E1
secondary
#E0F0DB
accent
#C5214A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91E1

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

Preview Lab → · Contrast checker → · Palette generator →

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