#CD92F5#CD92F5

#CD92F5 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.4% C 0.150 H 310.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CD92F5
RGBrgb(205, 146, 245)
HSLhsl(276, 83%, 77%)
HSVhsv(276, 40%, 96%)
CMYKcmyk(16.3%, 40.4%, 0%, 3.9%)
CIE-LABlab(69.56, 39.96, -41.13)
CIE-LCHlch(69.56, 57.35, 314.18°)
OKLaboklab(75.38% 0.0977 -0.1139)
OKLCHoklch(75.38% 0.15 310.6)
XYZxyz(51.9342, 40.1303, 91.3785)
Luminance0.4013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92F5 #BAF592
analogous
#9C92F5 #CD92F5 #F592EB
triadic
#CD92F5 #F5CD92 #92F5CD
tetradic
#CD92F5 #F59C92 #BAF592 #92EBF5
square
#CD92F5 #F59C92 #BAF592 #92EBF5
split-complementary
#CD92F5 #EBF592 #92F59C
monochromatic
#9A22EB #B35AF0 #CD92F5 #E7CAFA #F2E3FC

Accessibility & contrast

On white

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

On black

9.03
#CD92F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92F5
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92F5#FFFFFF#000000##000000
##CD92F51.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7F9
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#C9A1B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd92f5;
/* rgb */ color: rgb(205, 146, 245);
/* oklch */ color: oklch(75.4% 0.150 310.6);
Tailwind
colors: {
  custom: {
    50: '#deb3f9',
    500: '#cd92f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd92f5;
$custom-light: #deb3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92f5",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 245
  },
  "hsl": {
    "h": 275.758,
    "s": 83.193,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75376,
    "c": 0.15009,
    "h": 310.6
  },
  "luminance": 0.40129
}

Semantic roles & 50–950 ramp

primary
#CD92F5
secondary
#E3F4D7
accent
#E0065E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD92F5

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

Preview Lab → · Contrast checker → · Palette generator →

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