#CD91EB#CD91EB

#CD91EB is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.8% C 0.140 H 313.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CD91EB
RGBrgb(205, 145, 235)
HSLhsl(280, 69%, 75%)
HSVhsv(280, 38%, 92%)
CMYKcmyk(12.8%, 38.3%, 0%, 7.8%)
CIE-LABlab(68.92, 38.40, -36.66)
CIE-LCHlch(68.92, 53.09, 316.33°)
OKLaboklab(74.75% 0.0971 -0.1011)
OKLCHoklch(74.75% 0.14 313.9)
XYZxyz(50.2952, 39.2291, 83.5036)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91EB #AFEB91
analogous
#A091EB #CD91EB #EB91DC
triadic
#CD91EB #EBCD91 #91EBCD
tetradic
#CD91EB #EBA091 #AFEB91 #91DCEB
square
#CD91EB #EBA091 #AFEB91 #91DCEB
split-complementary
#CD91EB #DCEB91 #91EBA0
monochromatic
#9E29D8 #B55DE2 #CD91EB #E5C5F4 #F3E5FA

Accessibility & contrast

On white

2.37
#CD91EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CD91EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91EB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91EB#FFFFFF#000000##000000
##CD91EB1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#CB9DB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd91eb;
/* rgb */ color: rgb(205, 145, 235);
/* oklch */ color: oklch(74.8% 0.140 313.9);
Tailwind
colors: {
  custom: {
    50: '#ddb2f1',
    500: '#cd91eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd91eb;
$custom-light: #ddb2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91eb",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 280,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.1402,
    "h": 313.9
  },
  "luminance": 0.39228
}

Semantic roles & 50–950 ramp

primary
#CD91EB
secondary
#E1F2D9
accent
#D11453
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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