#CD92FB#CD92FB

#CD92FB is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.7% C 0.157 H 309.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CD92FB
RGBrgb(205, 146, 251)
HSLhsl(274, 93%, 78%)
HSVhsv(274, 42%, 98%)
CMYKcmyk(18.3%, 41.8%, 0%, 1.6%)
CIE-LABlab(69.83, 41.25, -43.99)
CIE-LCHlch(69.83, 60.31, 313.16°)
OKLaboklab(75.66% 0.0988 -0.1222)
OKLCHoklch(75.66% 0.157 309)
XYZxyz(52.8650, 40.5026, 96.2809)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92FB #C0FB92
analogous
#9892FB #CD92FB #FB92F5
triadic
#CD92FB #FBCD92 #92FBCD
tetradic
#CD92FB #FB9892 #C0FB92 #92F5FB
square
#CD92FB #FB9892 #C0FB92 #92F5FB
split-complementary
#CD92FB #F5FB92 #92FB98
monochromatic
#971CF7 #B257F9 #CD92FB #E8CDFD #F1E1FE

Accessibility & contrast

On white

2.31
#CD92FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CD92FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92FB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92FB#FFFFFF#000000##000000
##CD92FB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd92fb;
/* rgb */ color: rgb(205, 146, 251);
/* oklch */ color: oklch(75.7% 0.157 309.0);
Tailwind
colors: {
  custom: {
    50: '#deb3fd',
    500: '#cd92fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd92fb;
$custom-light: #deb3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92fb",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 273.714,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75661,
    "c": 0.15712,
    "h": 309
  },
  "luminance": 0.40502
}

Semantic roles & 50–950 ramp

primary
#CD92FB
secondary
#E3F6D5
accent
#E60065
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD92FB

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

Preview Lab → · Contrast checker → · Palette generator →

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