#CD91E2#CD91E2

#CD91E2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.4% C 0.130 H 317.1°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CD91E2
RGBrgb(205, 145, 226)
HSLhsl(284, 58%, 73%)
HSVhsv(284, 36%, 89%)
CMYKcmyk(9.3%, 35.8%, 0%, 11.4%)
CIE-LABlab(68.55, 36.56, -32.28)
CIE-LCHlch(68.55, 48.77, 318.56°)
OKLaboklab(74.35% 0.0952 -0.0886)
OKLCHoklch(74.35% 0.13 317.1)
XYZxyz(49.0277, 38.7221, 76.8282)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91E2 #A6E291
analogous
#A491E2 #CD91E2 #E291CF
triadic
#CD91E2 #E2CD91 #91E2CD
tetradic
#CD91E2 #E2A491 #A6E291 #91CFE2
square
#CD91E2 #E2A491 #A6E291 #91CFE2
split-complementary
#CD91E2 #CFE291 #91E2A4
monochromatic
#9F34C5 #B761D5 #CD91E2 #E3C1EF #F4E7F9

Accessibility & contrast

On white

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

On black

8.74
#CD91E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91E2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91E2#FFFFFF#000000##000000
##CD91E21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#94A9E0
Tritanopia (blue-blind)
#CD9BAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd91e2;
/* rgb */ color: rgb(205, 145, 226);
/* oklch */ color: oklch(74.4% 0.130 317.1);
Tailwind
colors: {
  custom: {
    50: '#ddb2eb',
    500: '#cd91e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd91e2;
$custom-light: #ddb2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91e2",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 284.444,
    "s": 58.273,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.13,
    "h": 317.1
  },
  "luminance": 0.38721
}

Semantic roles & 50–950 ramp

primary
#CD91E2
secondary
#E0F0DB
accent
#C6204B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91E2

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

Preview Lab → · Contrast checker → · Palette generator →

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