#CD92DE#CD92DE

#CD92DE is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.3% C 0.124 H 318.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD92DE
RGBrgb(205, 146, 222)
HSLhsl(287, 54%, 72%)
HSVhsv(287, 34%, 87%)
CMYKcmyk(7.7%, 34.2%, 0%, 12.9%)
CIE-LABlab(68.61, 35.21, -29.97)
CIE-LCHlch(68.61, 46.24, 319.60°)
OKLaboklab(74.35% 0.0927 -0.082)
OKLCHoklch(74.35% 0.124 318.5)
XYZxyz(48.6387, 38.8121, 74.0224)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92DE #A3DE92
analogous
#A792DE #CD92DE #DE92C9
triadic
#CD92DE #DECD92 #92DECD
tetradic
#CD92DE #DEA792 #A3DE92 #92C9DE
square
#CD92DE #DEA792 #A3DE92 #92C9DE
split-complementary
#CD92DE #C9DE92 #92DEA7
monochromatic
#9F39BD #B763D0 #CD92DE #E3C1EC #F4E8F8

Accessibility & contrast

On white

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

On black

8.76
#CD92DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92DE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92DE#FFFFFF#000000##000000
##CD92DE1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd92de;
/* rgb */ color: rgb(205, 146, 222);
/* oklch */ color: oklch(74.3% 0.124 318.5);
Tailwind
colors: {
  custom: {
    50: '#ddb3e8',
    500: '#cd92de',
    950: '#000000',
  },
}
SCSS
$custom: #cd92de;
$custom-light: #ddb3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92de",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 222
  },
  "hsl": {
    "h": 286.579,
    "s": 53.521,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74349,
    "c": 0.12381,
    "h": 318.5
  },
  "luminance": 0.38811
}

Semantic roles & 50–950 ramp

primary
#CD92DE
secondary
#E0EFDC
accent
#C12548
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD92DE

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

Preview Lab → · Contrast checker → · Palette generator →

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