#8958AE#8958AE

#8958AE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.1% C 0.138 H 308.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8958AE
RGBrgb(137, 88, 174)
HSLhsl(274, 35%, 51%)
HSVhsv(274, 49%, 68%)
CMYKcmyk(21.3%, 49.4%, 0%, 31.8%)
CIE-LABlab(46.12, 36.65, -38.34)
CIE-LCHlch(46.12, 53.04, 313.71°)
OKLaboklab(55.06% 0.0863 -0.1071)
OKLCHoklch(55.06% 0.138 308.9)
XYZxyz(21.4448, 15.3541, 41.8701)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958AE #7DAE58
analogous
#5E58AE #8958AE #AE58A8
triadic
#8958AE #AE8958 #58AE89
tetradic
#8958AE #AE5E58 #7DAE58 #58A8AE
square
#8958AE #AE5E58 #7DAE58 #58A8AE
split-complementary
#8958AE #A8AE58 #58AE5E
monochromatic
#492E5E #694287 #8958AE #A681C2 #C3AAD6

Accessibility & contrast

On white

5.16
#8958AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8958AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8958AE#FFFFFF#000000##FFFFFF
##8958AE1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#84667B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8958ae;
/* rgb */ color: rgb(137, 88, 174);
/* oklch */ color: oklch(55.1% 0.138 308.9);
Tailwind
colors: {
  custom: {
    50: '#ad88c6',
    500: '#8958ae',
    950: '#000000',
  },
}
SCSS
$custom: #8958ae;
$custom-light: #ad88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8958ae",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 274.186,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55063,
    "c": 0.13759,
    "h": 308.9
  },
  "luminance": 0.15354
}

Semantic roles & 50–950 ramp

primary
#8958AE
secondary
#AEC49E
accent
#CB5D8C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8958AE

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

Preview Lab → · Contrast checker → · Palette generator →

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