#CD92FA#CD92FA

#CD92FA is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.6% C 0.156 H 309.2°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CD92FA
RGBrgb(205, 146, 250)
HSLhsl(274, 91%, 78%)
HSVhsv(274, 42%, 98%)
CMYKcmyk(18%, 41.6%, 0%, 2%)
CIE-LABlab(69.78, 41.04, -43.51)
CIE-LCHlch(69.78, 59.81, 313.32°)
OKLaboklab(75.61% 0.0986 -0.1208)
OKLCHoklch(75.61% 0.156 309.2)
XYZxyz(52.7078, 40.4397, 95.4529)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92FA #BFFA92
analogous
#9992FA #CD92FA #FA92F3
triadic
#CD92FA #FACD92 #92FACD
tetradic
#CD92FA #FA9992 #BFFA92 #92F3FA
square
#CD92FA #FA9992 #BFFA92 #92F3FA
split-complementary
#CD92FA #F3FA92 #92FA99
monochromatic
#971DF5 #B257F7 #CD92FA #E8CDFD #F2E2FE

Accessibility & contrast

On white

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

On black

9.09
#CD92FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92FA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92FA#FFFFFF#000000##000000
##CD92FA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#8AABF7
Tritanopia (blue-blind)
#C7A2BA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd92fa;
/* rgb */ color: rgb(205, 146, 250);
/* oklch */ color: oklch(75.6% 0.156 309.2);
Tailwind
colors: {
  custom: {
    50: '#deb3fc',
    500: '#cd92fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd92fa;
$custom-light: #deb3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92fa",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 250
  },
  "hsl": {
    "h": 274.038,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.15595,
    "h": 309.2
  },
  "luminance": 0.40439
}

Semantic roles & 50–950 ramp

primary
#CD92FA
secondary
#E3F6D5
accent
#E60063
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD92FA

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

Preview Lab → · Contrast checker → · Palette generator →

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