#CD91E8#CD91E8

#CD91E8 is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.6% C 0.137 H 314.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CD91E8
RGBrgb(205, 145, 232)
HSLhsl(281, 65%, 74%)
HSVhsv(281, 38%, 91%)
CMYKcmyk(11.6%, 37.5%, 0%, 9%)
CIE-LABlab(68.79, 37.78, -35.20)
CIE-LCHlch(68.79, 51.64, 317.02°)
OKLaboklab(74.61% 0.0965 -0.0969)
OKLCHoklch(74.61% 0.137 314.9)
XYZxyz(49.8654, 39.0572, 81.2402)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91E8 #ACE891
analogous
#A291E8 #CD91E8 #E891D8
triadic
#CD91E8 #E8CD91 #91E8CD
tetradic
#CD91E8 #E8A291 #ACE891 #91D8E8
square
#CD91E8 #E8A291 #ACE891 #91D8E8
split-complementary
#CD91E8 #D8E891 #91E8A2
monochromatic
#9F2CD3 #B65EDD #CD91E8 #E4C4F3 #F3E6FA

Accessibility & contrast

On white

2.38
#CD91E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CD91E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91E8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91E8#FFFFFF#000000##000000
##CD91E81.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4EB
Deuteranopia (green-blind)
#91AAE5
Tritanopia (blue-blind)
#CB9CB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd91e8;
/* rgb */ color: rgb(205, 145, 232);
/* oklch */ color: oklch(74.6% 0.137 314.9);
Tailwind
colors: {
  custom: {
    50: '#ddb2ef',
    500: '#cd91e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd91e8;
$custom-light: #ddb2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91e8",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 232
  },
  "hsl": {
    "h": 281.379,
    "s": 65.414,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74615,
    "c": 0.13677,
    "h": 314.9
  },
  "luminance": 0.39056
}

Semantic roles & 50–950 ramp

primary
#CD91E8
secondary
#E1F1DA
accent
#CD1850
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91E8

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

Preview Lab → · Contrast checker → · Palette generator →

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