#CD92EB#CD92EB

#CD92EB is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.9% C 0.139 H 313.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CD92EB
RGBrgb(205, 146, 235)
HSLhsl(280, 69%, 75%)
HSVhsv(280, 38%, 92%)
CMYKcmyk(12.8%, 37.9%, 0%, 7.8%)
CIE-LABlab(69.14, 37.86, -36.32)
CIE-LCHlch(69.14, 52.46, 316.19°)
OKLaboklab(74.92% 0.0957 -0.1001)
OKLCHoklch(74.92% 0.139 313.7)
XYZxyz(50.4487, 39.5361, 83.5548)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92EB #B0EB92
analogous
#A192EB #CD92EB #EB92DD
triadic
#CD92EB #EBCD92 #92EBCD
tetradic
#CD92EB #EBA192 #B0EB92 #92DDEB
square
#CD92EB #EBA192 #B0EB92 #92DDEB
split-complementary
#CD92EB #DDEB92 #92EBA1
monochromatic
#9E2BD8 #B55EE2 #CD92EB #E5C6F4 #F3E5FA

Accessibility & contrast

On white

2.36
#CD92EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CD92EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92EB
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92EB#FFFFFF#000000##000000
##CD92EB1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5EE
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#CB9EB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd92eb;
/* rgb */ color: rgb(205, 146, 235);
/* oklch */ color: oklch(74.9% 0.139 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddb3f1',
    500: '#cd92eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd92eb;
$custom-light: #ddb3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92eb",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 279.775,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74916,
    "c": 0.1385,
    "h": 313.7
  },
  "luminance": 0.39535
}

Semantic roles & 50–950 ramp

primary
#CD92EB
secondary
#E1F2D9
accent
#D11554
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD92EB

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

Preview Lab → · Contrast checker → · Palette generator →

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