#CD92EF#CD92EF

#CD92EF is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.1% C 0.143 H 312.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#CD92EF
RGBrgb(205, 146, 239)
HSLhsl(278, 74%, 75%)
HSVhsv(278, 39%, 94%)
CMYKcmyk(14.2%, 38.9%, 0%, 6.3%)
CIE-LABlab(69.31, 38.69, -38.25)
CIE-LCHlch(69.31, 54.41, 315.33°)
OKLaboklab(75.1% 0.0965 -0.1056)
OKLCHoklch(75.1% 0.143 312.4)
XYZxyz(51.0331, 39.7698, 86.6326)
Luminance0.3977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92EF #B4EF92
analogous
#9E92EF #CD92EF #EF92E2
triadic
#CD92EF #EFCD92 #92EFCD
tetradic
#CD92EF #EF9E92 #B4EF92 #92E2EF
square
#CD92EF #EF9E92 #B4EF92 #92E2EF
split-complementary
#CD92EF #E2EF92 #92EF9E
monochromatic
#9C27DF #B55DE7 #CD92EF #E5C7F7 #F3E4FB

Accessibility & contrast

On white

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

On black

8.95
#CD92EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92EF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92EF#FFFFFF#000000##000000
##CD92EF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd92ef;
/* rgb */ color: rgb(205, 146, 239);
/* oklch */ color: oklch(75.1% 0.143 312.4);
Tailwind
colors: {
  custom: {
    50: '#ddb3f4',
    500: '#cd92ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd92ef;
$custom-light: #ddb3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92ef",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 278.065,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75098,
    "c": 0.14311,
    "h": 312.4
  },
  "luminance": 0.39769
}

Semantic roles & 50–950 ramp

primary
#CD92EF
secondary
#E2F3D8
accent
#D70F58
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD92EF

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

Preview Lab → · Contrast checker → · Palette generator →

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