#8952AE#8952AE

#8952AE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.148 H 309.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8952AE
RGBrgb(137, 82, 174)
HSLhsl(276, 36%, 50%)
HSVhsv(276, 53%, 68%)
CMYKcmyk(21.3%, 52.9%, 0%, 31.8%)
CIE-LABlab(44.81, 40.01, -40.40)
CIE-LCHlch(44.81, 56.86, 314.72°)
OKLaboklab(54.1% 0.0948 -0.1131)
OKLCHoklch(54.1% 0.148 309.9)
XYZxyz(20.9724, 14.4093, 41.7127)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952AE #77AE52
analogous
#5B52AE #8952AE #AE52A5
triadic
#8952AE #AE8952 #52AE89
tetradic
#8952AE #AE5B52 #77AE52 #52A5AE
square
#8952AE #AE5B52 #77AE52 #52A5AE
split-complementary
#8952AE #A5AE52 #52AE5B
monochromatic
#482B5B #683E85 #8952AE #A57CC2 #C2A5D5

Accessibility & contrast

On white

5.41
#8952AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8952AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952AE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952AE#FFFFFF#000000##FFFFFF
##8952AE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#846278
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8952ae;
/* rgb */ color: rgb(137, 82, 174);
/* oklch */ color: oklch(54.1% 0.148 309.9);
Tailwind
colors: {
  custom: {
    50: '#ae84c6',
    500: '#8952ae',
    950: '#000000',
  },
}
SCSS
$custom: #8952ae;
$custom-light: #ae84c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8952ae",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 275.87,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.14757,
    "h": 309.9
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#8952AE
secondary
#AAC299
accent
#CC5C89
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8952AE

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

Preview Lab → · Contrast checker → · Palette generator →

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