#CD92F3#CD92F3

#CD92F3 is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.3% C 0.148 H 311.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#CD92F3
RGBrgb(205, 146, 243)
HSLhsl(276, 80%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(15.6%, 39.9%, 0%, 4.7%)
CIE-LABlab(69.48, 39.54, -40.17)
CIE-LCHlch(69.48, 56.36, 314.54°)
OKLaboklab(75.28% 0.0973 -0.1112)
OKLCHoklch(75.28% 0.148 311.2)
XYZxyz(51.6305, 40.0088, 89.7792)
Luminance0.4001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92F3 #B8F392
analogous
#9D92F3 #CD92F3 #F392E9
triadic
#CD92F3 #F3CD92 #92F3CD
tetradic
#CD92F3 #F39D92 #B8F392 #92E9F3
square
#CD92F3 #F39D92 #B8F392 #92E9F3
split-complementary
#CD92F3 #E9F392 #92F39D
monochromatic
#9A24E7 #B45BED #CD92F3 #E6C9F9 #F2E3FC

Accessibility & contrast

On white

2.33
#CD92F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#CD92F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92F3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92F3#FFFFFF#000000##000000
##CD92F31.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F7
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#C9A0B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd92f3;
/* rgb */ color: rgb(205, 146, 243);
/* oklch */ color: oklch(75.3% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#deb3f7',
    500: '#cd92f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd92f3;
$custom-light: #deb3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92f3",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 243
  },
  "hsl": {
    "h": 276.495,
    "s": 80.165,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75282,
    "c": 0.14776,
    "h": 311.2
  },
  "luminance": 0.40008
}

Semantic roles & 50–950 ramp

primary
#CD92F3
secondary
#E2F4D7
accent
#DC095C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD92F3

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

Preview Lab → · Contrast checker → · Palette generator →

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