#CD92ED#CD92ED

#CD92ED is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.0% C 0.141 H 313.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CD92ED
RGBrgb(205, 146, 237)
HSLhsl(279, 72%, 75%)
HSVhsv(279, 38%, 93%)
CMYKcmyk(13.5%, 38.4%, 0%, 7.1%)
CIE-LABlab(69.22, 38.27, -37.28)
CIE-LCHlch(69.22, 53.43, 315.75°)
OKLaboklab(75.01% 0.0961 -0.1029)
OKLCHoklch(75.01% 0.141 313.1)
XYZxyz(50.7392, 39.6523, 85.0851)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92ED #B2ED92
analogous
#9F92ED #CD92ED #ED92E0
triadic
#CD92ED #EDCD92 #92EDCD
tetradic
#CD92ED #ED9F92 #B2ED92 #92E0ED
square
#CD92ED #ED9F92 #B2ED92 #92E0ED
split-complementary
#CD92ED #E0ED92 #92ED9F
monochromatic
#9D29DC #B55DE4 #CD92ED #E5C7F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.93
#CD92ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92ED
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92ED#FFFFFF#000000##000000
##CD92ED1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F0
Deuteranopia (green-blind)
#90AAEA
Tritanopia (blue-blind)
#CA9FB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd92ed;
/* rgb */ color: rgb(205, 146, 237);
/* oklch */ color: oklch(75.0% 0.141 313.1);
Tailwind
colors: {
  custom: {
    50: '#ddb3f3',
    500: '#cd92ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd92ed;
$custom-light: #ddb3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92ed",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 237
  },
  "hsl": {
    "h": 278.901,
    "s": 71.654,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75007,
    "c": 0.1408,
    "h": 313.1
  },
  "luminance": 0.39651
}

Semantic roles & 50–950 ramp

primary
#CD92ED
secondary
#E2F2D9
accent
#D41256
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD92ED

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

Preview Lab → · Contrast checker → · Palette generator →

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