#CD92EC#CD92EC

#CD92EC is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.0% C 0.140 H 313.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CD92EC
RGBrgb(205, 146, 236)
HSLhsl(279, 70%, 75%)
HSVhsv(279, 38%, 93%)
CMYKcmyk(13.1%, 38.1%, 0%, 7.5%)
CIE-LABlab(69.18, 38.07, -36.80)
CIE-LCHlch(69.18, 52.95, 315.97°)
OKLaboklab(74.96% 0.0959 -0.1015)
OKLCHoklch(74.96% 0.14 313.4)
XYZxyz(50.5936, 39.5940, 84.3178)
Luminance0.3959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92EC #B1EC92
analogous
#A092EC #CD92EC #EC92DE
triadic
#CD92EC #ECCD92 #92ECCD
tetradic
#CD92EC #ECA092 #B1EC92 #92DEEC
square
#CD92EC #ECA092 #B1EC92 #92DEEC
split-complementary
#CD92EC #DEEC92 #92ECA0
monochromatic
#9D2ADA #B55EE3 #CD92EC #E5C6F5 #F3E5FA

Accessibility & contrast

On white

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

On black

8.92
#CD92EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92EC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92EC#FFFFFF#000000##000000
##CD92EC1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#CB9EB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd92ec;
/* rgb */ color: rgb(205, 146, 236);
/* oklch */ color: oklch(75.0% 0.140 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddb3f2',
    500: '#cd92ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd92ec;
$custom-light: #ddb3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92ec",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 279.333,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74961,
    "c": 0.13965,
    "h": 313.4
  },
  "luminance": 0.39593
}

Semantic roles & 50–950 ramp

primary
#CD92EC
secondary
#E2F2D9
accent
#D21355
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD92EC

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

Preview Lab → · Contrast checker → · Palette generator →

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