#8952DE#8952DE

#8952DE is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.204 H 297.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8952DE
RGBrgb(137, 82, 222)
HSLhsl(264, 68%, 60%)
HSVhsv(264, 63%, 87%)
CMYKcmyk(38.3%, 63.1%, 0%, 12.9%)
CIE-LABlab(47.79, 51.77, -63.38)
CIE-LCHlch(47.79, 81.83, 309.24°)
OKLaboklab(57.22% 0.0946 -0.1805)
OKLCHoklch(57.22% 0.204 297.7)
XYZxyz(26.5153, 16.6265, 70.9053)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952DE #A7DE52
analogous
#5261DE #8952DE #CF52DE
triadic
#8952DE #DE8952 #52DE89
tetradic
#8952DE #DE5261 #A7DE52 #52DECF
square
#8952DE #DE5261 #A7DE52 #52DECF
split-complementary
#8952DE #DECF52 #61DE52
monochromatic
#4E1D99 #6827CC #8952DE #AC85E8 #CFB9F2

Accessibility & contrast

On white

4.86
#8952DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8952DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952DE#FFFFFF#000000##FFFFFF
##8952DE1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#757291
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8952de;
/* rgb */ color: rgb(137, 82, 222);
/* oklch */ color: oklch(57.2% 0.204 297.7);
Tailwind
colors: {
  custom: {
    50: '#b185e9',
    500: '#8952de',
    950: '#000000',
  },
}
SCSS
$custom: #8952de;
$custom-light: #b185e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8952de",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 263.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.20379,
    "h": 297.7
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#8952DE
secondary
#CCE1AB
accent
#EB3DA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952DE

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

Preview Lab → · Contrast checker → · Palette generator →

#8952DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva