#CD91DF#CD91DF

#CD91DF is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.2% C 0.127 H 318.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD91DF
RGBrgb(205, 145, 223)
HSLhsl(286, 55%, 72%)
HSVhsv(286, 35%, 87%)
CMYKcmyk(8.1%, 35%, 0%, 12.5%)
CIE-LABlab(68.43, 35.95, -30.81)
CIE-LCHlch(68.43, 47.35, 319.41°)
OKLaboklab(74.22% 0.0945 -0.0844)
OKLCHoklch(74.22% 0.127 318.2)
XYZxyz(48.6197, 38.5589, 74.6792)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91DF #A3DF91
analogous
#A691DF #CD91DF #DF91CA
triadic
#CD91DF #DFCD91 #91DFCD
tetradic
#CD91DF #DFA691 #A3DF91 #91CADF
square
#CD91DF #DFA691 #A3DF91 #91CADF
split-complementary
#CD91DF #CADF91 #91DFA6
monochromatic
#9F37BE #B762D1 #CD91DF #E3C0ED #F4E7F8

Accessibility & contrast

On white

2.41
#CD91DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CD91DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91DF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91DF#FFFFFF#000000##000000
##CD91DF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#95A9DD
Tritanopia (blue-blind)
#CD9AAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd91df;
/* rgb */ color: rgb(205, 145, 223);
/* oklch */ color: oklch(74.2% 0.127 318.2);
Tailwind
colors: {
  custom: {
    50: '#ddb2e9',
    500: '#cd91df',
    950: '#000000',
  },
}
SCSS
$custom: #cd91df;
$custom-light: #ddb2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91df",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 286.154,
    "s": 54.93,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74222,
    "c": 0.12666,
    "h": 318.2
  },
  "luminance": 0.38558
}

Semantic roles & 50–950 ramp

primary
#CD91DF
secondary
#E0EFDC
accent
#C22348
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91DF

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

Preview Lab → · Contrast checker → · Palette generator →

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