#CD92FF#CD92FF

#CD92FF is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.9% C 0.162 H 307.9°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CD92FF
RGBrgb(205, 146, 255)
HSLhsl(272, 100%, 79%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(19.6%, 42.7%, 0%, 0%)
CIE-LABlab(70.01, 42.13, -45.88)
CIE-LCHlch(70.01, 62.29, 312.55°)
OKLaboklab(75.85% 0.0995 -0.1277)
OKLCHoklch(75.85% 0.162 307.9)
XYZxyz(53.5022, 40.7575, 99.6368)
Luminance0.4076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92FF #C4FF92
analogous
#9692FF #CD92FF #FF92FB
triadic
#CD92FF #FFCD92 #92FFCD
tetradic
#CD92FF #FF9692 #C4FF92 #92FBFF
square
#CD92FF #FF9692 #C4FF92 #92FBFF
split-complementary
#CD92FF #FBFF92 #92FF96
monochromatic
#9518FF #B155FF #CD92FF #E9CFFF #F1E0FF

Accessibility & contrast

On white

2.29
#CD92FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#CD92FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92FF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92FF#FFFFFF#000000##000000
##CD92FF1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd92ff;
/* rgb */ color: rgb(205, 146, 255);
/* oklch */ color: oklch(75.9% 0.162 307.9);
Tailwind
colors: {
  custom: {
    50: '#deb3ff',
    500: '#cd92ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd92ff;
$custom-light: #deb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92ff",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 272.477,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75855,
    "c": 0.16183,
    "h": 307.9
  },
  "luminance": 0.40757
}

Semantic roles & 50–950 ramp

primary
#CD92FF
secondary
#E4F7D4
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD92FF

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

Preview Lab → · Contrast checker → · Palette generator →

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