#CD92FC#CD92FC

#CD92FC is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.7% C 0.158 H 308.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CD92FC
RGBrgb(205, 146, 252)
HSLhsl(273, 95%, 78%)
HSVhsv(273, 42%, 99%)
CMYKcmyk(18.7%, 42.1%, 0%, 1.2%)
CIE-LABlab(69.87, 41.47, -44.46)
CIE-LCHlch(69.87, 60.80, 313.01°)
OKLaboklab(75.71% 0.099 -0.1236)
OKLCHoklch(75.71% 0.158 308.7)
XYZxyz(53.0231, 40.5658, 97.1133)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92FC #C1FC92
analogous
#9892FC #CD92FC #FC92F6
triadic
#CD92FC #FCCD92 #92FCCD
tetradic
#CD92FC #FC9892 #C1FC92 #92F6FC
square
#CD92FC #FC9892 #C1FC92 #92F6FC
split-complementary
#CD92FC #F6FC92 #92FC98
monochromatic
#961BF9 #B256FA #CD92FC #E8CEFE #F1E1FE

Accessibility & contrast

On white

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

On black

9.11
#CD92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92FC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92FC#FFFFFF#000000##000000
##CD92FC1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#89ACF9
Tritanopia (blue-blind)
#C7A2BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cd92fc;
/* rgb */ color: rgb(205, 146, 252);
/* oklch */ color: oklch(75.7% 0.158 308.7);
Tailwind
colors: {
  custom: {
    50: '#deb3fe',
    500: '#cd92fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd92fc;
$custom-light: #deb3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92fc",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 273.396,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75709,
    "c": 0.1583,
    "h": 308.7
  },
  "luminance": 0.40565
}

Semantic roles & 50–950 ramp

primary
#CD92FC
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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