#8958AA#8958AA

#8958AA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.133 H 310.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8958AA
RGBrgb(137, 88, 170)
HSLhsl(276, 33%, 51%)
HSVhsv(276, 48%, 67%)
CMYKcmyk(19.4%, 48.2%, 0%, 33.3%)
CIE-LABlab(45.91, 35.72, -36.32)
CIE-LCHlch(45.91, 50.94, 314.52°)
OKLaboklab(54.84% 0.0858 -0.1013)
OKLCHoklch(54.84% 0.133 310.3)
XYZxyz(21.0606, 15.2004, 39.8469)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958AA #79AA58
analogous
#6058AA #8958AA #AA58A2
triadic
#8958AA #AA8958 #58AA89
tetradic
#8958AA #AA6058 #79AA58 #58A2AA
square
#8958AA #AA6058 #79AA58 #58A2AA
split-complementary
#8958AA #A2AA58 #58AA60
monochromatic
#482E5A #694282 #8958AA #A681BF #C2A9D3

Accessibility & contrast

On white

5.20
#8958AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8958AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958AA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958AA#FFFFFF#000000##FFFFFF
##8958AA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#856579
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8958aa;
/* rgb */ color: rgb(137, 88, 170);
/* oklch */ color: oklch(54.8% 0.133 310.3);
Tailwind
colors: {
  custom: {
    50: '#ad88c3',
    500: '#8958aa',
    950: '#000000',
  },
}
SCSS
$custom: #8958aa;
$custom-light: #ad88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8958aa",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 275.854,
    "s": 32.54,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.13273,
    "h": 310.3
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#8958AA
secondary
#ABC19D
accent
#C95F8A
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8958AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8958AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva