#8952BB#8952BB

#8952BB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.163 H 305.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8952BB
RGBrgb(137, 82, 187)
HSLhsl(271, 44%, 53%)
HSVhsv(271, 56%, 73%)
CMYKcmyk(26.7%, 56.1%, 0%, 26.7%)
CIE-LABlab(45.55, 43.08, -46.84)
CIE-LCHlch(45.55, 63.63, 312.60°)
OKLaboklab(54.88% 0.0955 -0.1319)
OKLCHoklch(54.88% 0.163 305.9)
XYZxyz(22.3016, 14.9410, 48.7131)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952BB #84BB52
analogous
#5552BB #8952BB #BB52B8
triadic
#8952BB #BB8952 #52BB89
tetradic
#8952BB #BB5552 #84BB52 #52B8BB
square
#8952BB #BB5552 #84BB52 #52B8BB
split-complementary
#8952BB #B8BB52 #52BB55
monochromatic
#4B2969 #6A3B95 #8952BB #A77ECC #C5AADE

Accessibility & contrast

On white

5.27
#8952BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8952BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952BB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952BB#FFFFFF#000000##FFFFFF
##8952BB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#81667F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8952bb;
/* rgb */ color: rgb(137, 82, 187);
/* oklch */ color: oklch(54.9% 0.163 305.9);
Tailwind
colors: {
  custom: {
    50: '#ae85d0',
    500: '#8952bb',
    950: '#000000',
  },
}
SCSS
$custom: #8952bb;
$custom-light: #ae85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8952bb",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 271.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.16288,
    "h": 305.9
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#8952BB
secondary
#B3CB9E
accent
#D35491
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8952BB

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

Preview Lab → · Contrast checker → · Palette generator →

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