#8952BA#8952BA

#8952BA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.162 H 306.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8952BA
RGBrgb(137, 82, 186)
HSLhsl(272, 43%, 53%)
HSVhsv(272, 56%, 73%)
CMYKcmyk(26.3%, 55.9%, 0%, 27.1%)
CIE-LABlab(45.49, 42.84, -46.35)
CIE-LCHlch(45.49, 63.11, 312.74°)
OKLaboklab(54.82% 0.0955 -0.1305)
OKLCHoklch(54.82% 0.162 306.2)
XYZxyz(22.1949, 14.8983, 48.1513)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952BA #83BA52
analogous
#5552BA #8952BA #BA52B7
triadic
#8952BA #BA8952 #52BA89
tetradic
#8952BA #BA5552 #83BA52 #52B7BA
square
#8952BA #BA5552 #83BA52 #52B7BA
split-complementary
#8952BA #B7BA52 #52BA55
monochromatic
#4B2A68 #6A3B94 #8952BA #A77ECB #C5AADD

Accessibility & contrast

On white

5.28
#8952BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8952BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952BA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952BA#FFFFFF#000000##FFFFFF
##8952BA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABD
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#81657E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8952ba;
/* rgb */ color: rgb(137, 82, 186);
/* oklch */ color: oklch(54.8% 0.162 306.2);
Tailwind
colors: {
  custom: {
    50: '#ae85cf',
    500: '#8952ba',
    950: '#000000',
  },
}
SCSS
$custom: #8952ba;
$custom-light: #ae85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8952ba",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 271.731,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.16171,
    "h": 306.2
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#8952BA
secondary
#B3CA9D
accent
#D35590
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8952BA

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

Preview Lab → · Contrast checker → · Palette generator →

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