#CD92DF#CD92DF

#CD92DF is a light, vivid purple. Relative luminance 0.389; OKLCH L 74.4% C 0.125 H 318.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CD92DF
RGBrgb(205, 146, 223)
HSLhsl(286, 55%, 72%)
HSVhsv(286, 35%, 87%)
CMYKcmyk(8.1%, 34.5%, 0%, 12.5%)
CIE-LABlab(68.65, 35.41, -30.46)
CIE-LCHlch(68.65, 46.71, 319.30°)
OKLaboklab(74.39% 0.093 -0.0834)
OKLCHoklch(74.39% 0.125 318.1)
XYZxyz(48.7731, 38.8658, 74.7303)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92DF #A4DF92
analogous
#A792DF #CD92DF #DF92CB
triadic
#CD92DF #DFCD92 #92DFCD
tetradic
#CD92DF #DFA792 #A4DF92 #92CBDF
square
#CD92DF #DFA792 #A4DF92 #92CBDF
split-complementary
#CD92DF #CBDF92 #92DFA7
monochromatic
#9F38BF #B763D1 #CD92DF #E3C1ED #F4E7F8

Accessibility & contrast

On white

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

On black

8.77
#CD92DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92DF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92DF#FFFFFF#000000##000000
##CD92DF1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E2
Deuteranopia (green-blind)
#96A9DD
Tritanopia (blue-blind)
#CD9BAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd92df;
/* rgb */ color: rgb(205, 146, 223);
/* oklch */ color: oklch(74.4% 0.125 318.1);
Tailwind
colors: {
  custom: {
    50: '#ddb3e9',
    500: '#cd92df',
    950: '#000000',
  },
}
SCSS
$custom: #cd92df;
$custom-light: #ddb3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92df",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 285.974,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74391,
    "c": 0.12492,
    "h": 318.1
  },
  "luminance": 0.38865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD92DF

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

Preview Lab → · Contrast checker → · Palette generator →

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