#CD92E7#CD92E7

#CD92E7 is a light, vivid purple. Relative luminance 0.393; OKLCH L 74.7% C 0.134 H 315.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CD92E7
RGBrgb(205, 146, 231)
HSLhsl(282, 64%, 74%)
HSVhsv(282, 37%, 91%)
CMYKcmyk(11.3%, 36.8%, 0%, 9.4%)
CIE-LABlab(68.97, 37.03, -34.37)
CIE-LCHlch(68.97, 50.53, 317.13°)
OKLaboklab(74.74% 0.0948 -0.0946)
OKLCHoklch(74.74% 0.134 315.1)
XYZxyz(49.8773, 39.3075, 80.5455)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92E7 #ACE792
analogous
#A392E7 #CD92E7 #E792D7
triadic
#CD92E7 #E7CD92 #92E7CD
tetradic
#CD92E7 #E7A392 #ACE792 #92D7E7
square
#CD92E7 #E7A392 #ACE792 #92D7E7
split-complementary
#CD92E7 #D7E792 #92E7A3
monochromatic
#9F2ED1 #B660DC #CD92E7 #E4C4F2 #F3E6F9

Accessibility & contrast

On white

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

On black

8.86
#CD92E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92E7
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92E7#FFFFFF#000000##000000
##CD92E71.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A5EA
Deuteranopia (green-blind)
#92AAE4
Tritanopia (blue-blind)
#CC9DB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd92e7;
/* rgb */ color: rgb(205, 146, 231);
/* oklch */ color: oklch(74.7% 0.134 315.1);
Tailwind
colors: {
  custom: {
    50: '#ddb3ef',
    500: '#cd92e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd92e7;
$custom-light: #ddb3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92e7",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 231
  },
  "hsl": {
    "h": 281.647,
    "s": 63.91,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74738,
    "c": 0.13393,
    "h": 315.1
  },
  "luminance": 0.39306
}

Semantic roles & 50–950 ramp

primary
#CD92E7
secondary
#E1F1DA
accent
#CC1A50
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD92E7

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

Preview Lab → · Contrast checker → · Palette generator →

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