#8952BD#8952BD

#8952BD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.165 H 305.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8952BD
RGBrgb(137, 82, 189)
HSLhsl(271, 45%, 53%)
HSVhsv(271, 57%, 74%)
CMYKcmyk(27.5%, 56.6%, 0%, 25.9%)
CIE-LABlab(45.67, 43.56, -47.81)
CIE-LCHlch(45.67, 64.68, 312.33°)
OKLaboklab(55.01% 0.0956 -0.1348)
OKLCHoklch(55.01% 0.165 305.3)
XYZxyz(22.5172, 15.0272, 49.8486)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952BD #86BD52
analogous
#5352BD #8952BD #BD52BB
triadic
#8952BD #BD8952 #52BD89
tetradic
#8952BD #BD5352 #86BD52 #52BBBD
square
#8952BD #BD5352 #86BD52 #52BBBD
split-complementary
#8952BD #BBBD52 #52BD53
monochromatic
#4B296C #6A3A98 #8952BD #A77ECE #C5ABDF

Accessibility & contrast

On white

5.24
#8952BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8952BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952BD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952BD#FFFFFF#000000##FFFFFF
##8952BD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#806680
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8952bd;
/* rgb */ color: rgb(137, 82, 189);
/* oklch */ color: oklch(55.0% 0.165 305.3);
Tailwind
colors: {
  custom: {
    50: '#ae85d1',
    500: '#8952bd',
    950: '#000000',
  },
}
SCSS
$custom: #8952bd;
$custom-light: #ae85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8952bd",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 270.841,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.16524,
    "h": 305.3
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#8952BD
secondary
#B5CC9E
accent
#D45392
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8952BD

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

Preview Lab → · Contrast checker → · Palette generator →

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