#8952DC#8952DC

#8952DC is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.201 H 298.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8952DC
RGBrgb(137, 82, 220)
HSLhsl(264, 66%, 59%)
HSVhsv(264, 63%, 86%)
CMYKcmyk(37.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(47.65, 51.26, -62.46)
CIE-LCHlch(47.65, 80.80, 309.37°)
OKLaboklab(57.08% 0.0948 -0.1778)
OKLCHoklch(57.08% 0.201 298.1)
XYZxyz(26.2488, 16.5199, 69.5020)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952DC #A5DC52
analogous
#5260DC #8952DC #CE52DC
triadic
#8952DC #DC8952 #52DC89
tetradic
#8952DC #DC5260 #A5DC52 #52DCCE
square
#8952DC #DC5260 #A5DC52 #52DCCE
split-complementary
#8952DC #DCCE52 #60DC52
monochromatic
#4E1E95 #6829C8 #8952DC #AC85E6 #CEB8F1

Accessibility & contrast

On white

4.88
#8952DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8952DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952DC#FFFFFF#000000##FFFFFF
##8952DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0470D9
Tritanopia (blue-blind)
#767190
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8952dc;
/* rgb */ color: rgb(137, 82, 220);
/* oklch */ color: oklch(57.1% 0.201 298.1);
Tailwind
colors: {
  custom: {
    50: '#b185e8',
    500: '#8952dc',
    950: '#000000',
  },
}
SCSS
$custom: #8952dc;
$custom-light: #b185e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8952dc",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 263.913,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.20149,
    "h": 298.1
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#8952DC
secondary
#CAE0AA
accent
#E93FA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8952DC

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

Preview Lab → · Contrast checker → · Palette generator →

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