#8952BC#8952BC

#8952BC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.164 H 305.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8952BC
RGBrgb(137, 82, 188)
HSLhsl(271, 44%, 53%)
HSVhsv(271, 56%, 74%)
CMYKcmyk(27.1%, 56.4%, 0%, 26.3%)
CIE-LABlab(45.61, 43.32, -47.33)
CIE-LCHlch(45.61, 64.16, 312.47°)
OKLaboklab(54.95% 0.0956 -0.1334)
OKLCHoklch(54.95% 0.164 305.6)
XYZxyz(22.4090, 14.9840, 49.2789)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952BC #85BC52
analogous
#5452BC #8952BC #BC52BA
triadic
#8952BC #BC8952 #52BC89
tetradic
#8952BC #BC5452 #85BC52 #52BABC
square
#8952BC #BC5452 #85BC52 #52BABC
split-complementary
#8952BC #BABC52 #52BC54
monochromatic
#4B296A #6A3A97 #8952BC #A77ECD #C5AADE

Accessibility & contrast

On white

5.25
#8952BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8952BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952BC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952BC#FFFFFF#000000##FFFFFF
##8952BC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#81667F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8952bc;
/* rgb */ color: rgb(137, 82, 188);
/* oklch */ color: oklch(54.9% 0.164 305.6);
Tailwind
colors: {
  custom: {
    50: '#ae85d1',
    500: '#8952bc',
    950: '#000000',
  },
}
SCSS
$custom: #8952bc;
$custom-light: #ae85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8952bc",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 271.132,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.16406,
    "h": 305.6
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#8952BC
secondary
#B4CC9E
accent
#D45491
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8952BC

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

Preview Lab → · Contrast checker → · Palette generator →

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