#CD92EE#CD92EE

#CD92EE is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.1% C 0.142 H 312.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CD92EE
RGBrgb(205, 146, 238)
HSLhsl(278, 73%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(13.9%, 38.7%, 0%, 6.7%)
CIE-LABlab(69.26, 38.48, -37.77)
CIE-LCHlch(69.26, 53.92, 315.54°)
OKLaboklab(75.05% 0.0963 -0.1043)
OKLCHoklch(75.05% 0.142 312.7)
XYZxyz(50.8858, 39.7109, 85.8567)
Luminance0.3971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92EE #B3EE92
analogous
#9F92EE #CD92EE #EE92E1
triadic
#CD92EE #EECD92 #92EECD
tetradic
#CD92EE #EE9F92 #B3EE92 #92E1EE
square
#CD92EE #EE9F92 #B3EE92 #92E1EE
split-complementary
#CD92EE #E1EE92 #92EE9F
monochromatic
#9C28DD #B55DE6 #CD92EE #E5C7F6 #F3E5FB

Accessibility & contrast

On white

2.35
#CD92EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CD92EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92EE
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92EE#FFFFFF#000000##000000
##CD92EE1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F1
Deuteranopia (green-blind)
#8FABEB
Tritanopia (blue-blind)
#CA9FB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd92ee;
/* rgb */ color: rgb(205, 146, 238);
/* oklch */ color: oklch(75.1% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cd92ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd92ee;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92ee",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 278.478,
    "s": 73.016,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75052,
    "c": 0.14196,
    "h": 312.7
  },
  "luminance": 0.3971
}

Semantic roles & 50–950 ramp

primary
#CD92EE
secondary
#E2F3D8
accent
#D51057
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD92EE

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

Preview Lab → · Contrast checker → · Palette generator →

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