#CD92E1#CD92E1

#CD92E1 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.5% C 0.127 H 317.3°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CD92E1
RGBrgb(205, 146, 225)
HSLhsl(285, 57%, 73%)
HSVhsv(285, 35%, 88%)
CMYKcmyk(8.9%, 35.1%, 0%, 11.8%)
CIE-LABlab(68.73, 35.81, -31.44)
CIE-LCHlch(68.73, 47.66, 318.72°)
OKLaboklab(74.48% 0.0935 -0.0862)
OKLCHoklch(74.48% 0.127 317.3)
XYZxyz(49.0444, 38.9743, 76.1588)
Luminance0.3897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92E1 #A6E192
analogous
#A592E1 #CD92E1 #E192CE
triadic
#CD92E1 #E1CD92 #92E1CD
tetradic
#CD92E1 #E1A592 #A6E192 #92CEE1
square
#CD92E1 #E1A592 #A6E192 #92CEE1
split-complementary
#CD92E1 #CEE192 #92E1A5
monochromatic
#9F36C3 #B762D4 #CD92E1 #E3C2EE #F4E7F8

Accessibility & contrast

On white

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

On black

8.79
#CD92E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92E1
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92E1#FFFFFF#000000##000000
##CD92E11.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A4E4
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#CD9CAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd92e1;
/* rgb */ color: rgb(205, 146, 225);
/* oklch */ color: oklch(74.5% 0.127 317.3);
Tailwind
colors: {
  custom: {
    50: '#ddb3ea',
    500: '#cd92e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd92e1;
$custom-light: #ddb3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92e1",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 225
  },
  "hsl": {
    "h": 284.81,
    "s": 56.835,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74477,
    "c": 0.12714,
    "h": 317.3
  },
  "luminance": 0.38973
}

Semantic roles & 50–950 ramp

primary
#CD92E1
secondary
#E0F0DB
accent
#C4214A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD92E1

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

Preview Lab → · Contrast checker → · Palette generator →

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