#CD91E7#CD91E7

#CD91E7 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.6% C 0.136 H 315.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD91E7
RGBrgb(205, 145, 231)
HSLhsl(282, 64%, 74%)
HSVhsv(282, 37%, 91%)
CMYKcmyk(11.3%, 37.2%, 0%, 9.4%)
CIE-LABlab(68.75, 37.57, -34.72)
CIE-LCHlch(68.75, 51.16, 317.26°)
OKLaboklab(74.57% 0.0963 -0.0955)
OKLCHoklch(74.57% 0.136 315.2)
XYZxyz(49.7238, 39.0006, 80.4943)
Luminance0.3900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91E7 #ABE791
analogous
#A291E7 #CD91E7 #E791D6
triadic
#CD91E7 #E7CD91 #91E7CD
tetradic
#CD91E7 #E7A291 #ABE791 #91D6E7
square
#CD91E7 #E7A291 #ABE791 #91D6E7
split-complementary
#CD91E7 #D6E791 #91E7A2
monochromatic
#9F2DD0 #B65FDC #CD91E7 #E4C3F2 #F4E6FA

Accessibility & contrast

On white

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

On black

8.80
#CD91E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91E7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91E7#FFFFFF#000000##000000
##CD91E71.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4EA
Deuteranopia (green-blind)
#92A9E4
Tritanopia (blue-blind)
#CC9CB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd91e7;
/* rgb */ color: rgb(205, 145, 231);
/* oklch */ color: oklch(74.6% 0.136 315.2);
Tailwind
colors: {
  custom: {
    50: '#ddb2ef',
    500: '#cd91e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd91e7;
$custom-light: #ddb2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91e7",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 231
  },
  "hsl": {
    "h": 281.86,
    "s": 64.179,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74571,
    "c": 0.13563,
    "h": 315.2
  },
  "luminance": 0.38999
}

Semantic roles & 50–950 ramp

primary
#CD91E7
secondary
#E1F1DA
accent
#CC1A4F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91E7

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

Preview Lab → · Contrast checker → · Palette generator →

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