#CD92E4#CD92E4

#CD92E4 is a light, vivid purple. Relative luminance 0.391; OKLCH L 74.6% C 0.131 H 316.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CD92E4
RGBrgb(205, 146, 228)
HSLhsl(283, 60%, 73%)
HSVhsv(283, 36%, 89%)
CMYKcmyk(10.1%, 36%, 0%, 10.6%)
CIE-LABlab(68.85, 36.42, -32.91)
CIE-LCHlch(68.85, 49.09, 317.90°)
OKLaboklab(74.61% 0.0942 -0.0904)
OKLCHoklch(74.61% 0.131 316.2)
XYZxyz(49.4572, 39.1395, 78.3331)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92E4 #A9E492
analogous
#A492E4 #CD92E4 #E492D2
triadic
#CD92E4 #E4CD92 #92E4CD
tetradic
#CD92E4 #E4A492 #A9E492 #92D2E4
square
#CD92E4 #E4A492 #A9E492 #92D2E4
split-complementary
#CD92E4 #D2E492 #92E4A4
monochromatic
#9F32CA #B661D8 #CD92E4 #E3C3F0 #F4E6F9

Accessibility & contrast

On white

2.38
#CD92E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CD92E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92E4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92E4#FFFFFF#000000##000000
##CD92E41.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E7
Deuteranopia (green-blind)
#94AAE2
Tritanopia (blue-blind)
#CC9CB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd92e4;
/* rgb */ color: rgb(205, 146, 228);
/* oklch */ color: oklch(74.6% 0.131 316.2);
Tailwind
colors: {
  custom: {
    50: '#ddb3ec',
    500: '#cd92e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd92e4;
$custom-light: #ddb3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92e4",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 228
  },
  "hsl": {
    "h": 283.171,
    "s": 60.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.13052,
    "h": 316.2
  },
  "luminance": 0.39138
}

Semantic roles & 50–950 ramp

primary
#CD92E4
secondary
#E1F0DB
accent
#C81E4D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD92E4

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

Preview Lab → · Contrast checker → · Palette generator →

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