#8952DD#8952DD

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

Color values

HEX#8952DD
RGBrgb(137, 82, 221)
HSLhsl(264, 67%, 59%)
HSVhsv(264, 63%, 87%)
CMYKcmyk(38%, 62.9%, 0%, 13.3%)
CIE-LABlab(47.72, 51.51, -62.92)
CIE-LCHlch(47.72, 81.32, 309.31°)
OKLaboklab(57.15% 0.0947 -0.1792)
OKLCHoklch(57.15% 0.203 297.9)
XYZxyz(26.3817, 16.5730, 70.2016)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952DD #A6DD52
analogous
#5261DD #8952DD #CF52DD
triadic
#8952DD #DD8952 #52DD89
tetradic
#8952DD #DD5261 #A6DD52 #52DDCF
square
#8952DD #DD5261 #A6DD52 #52DDCF
split-complementary
#8952DD #DDCF52 #61DD52
monochromatic
#4E1E97 #6828CA #8952DD #AC85E7 #CFB8F1

Accessibility & contrast

On white

4.87
#8952DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8952DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952DD#FFFFFF#000000##FFFFFF
##8952DD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#757190
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8952dd;
/* rgb */ color: rgb(137, 82, 221);
/* oklch */ color: oklch(57.2% 0.203 297.9);
Tailwind
colors: {
  custom: {
    50: '#b185e8',
    500: '#8952dd',
    950: '#000000',
  },
}
SCSS
$custom: #8952dd;
$custom-light: #b185e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8952dd",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 263.741,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.20264,
    "h": 297.9
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#8952DD
secondary
#CBE0AA
accent
#EA3EA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952DD

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

Preview Lab → · Contrast checker → · Palette generator →

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