#CD92FE#CD92FE

#CD92FE is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.8% C 0.161 H 308.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#CD92FE
RGBrgb(205, 146, 254)
HSLhsl(273, 98%, 78%)
HSVhsv(273, 43%, 100%)
CMYKcmyk(19.3%, 42.5%, 0%, 0.4%)
CIE-LABlab(69.96, 41.91, -45.41)
CIE-LCHlch(69.96, 61.79, 312.70°)
OKLaboklab(75.81% 0.0993 -0.1263)
OKLCHoklch(75.81% 0.161 308.2)
XYZxyz(53.3417, 40.6933, 98.7912)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92FE #C3FE92
analogous
#9792FE #CD92FE #FE92F9
triadic
#CD92FE #FECD92 #92FECD
tetradic
#CD92FE #FE9792 #C3FE92 #92F9FE
square
#CD92FE #FE9792 #C3FE92 #92F9FE
split-complementary
#CD92FE #F9FE92 #92FE97
monochromatic
#9519FD #B155FD #CD92FE #E9CFFF #F1E1FF

Accessibility & contrast

On white

2.30
#CD92FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#CD92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92FE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92FE#FFFFFF#000000##000000
##CD92FE1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#C6A3BC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd92fe;
/* rgb */ color: rgb(205, 146, 254);
/* oklch */ color: oklch(75.8% 0.161 308.2);
Tailwind
colors: {
  custom: {
    50: '#deb3ff',
    500: '#cd92fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd92fe;
$custom-light: #deb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92fe",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 272.778,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75806,
    "c": 0.16066,
    "h": 308.2
  },
  "luminance": 0.40693
}

Semantic roles & 50–950 ramp

primary
#CD92FE
secondary
#E4F7D4
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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