#8957AE#8957AE

#8957AE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.9% C 0.139 H 309.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8957AE
RGBrgb(137, 87, 174)
HSLhsl(274, 35%, 51%)
HSVhsv(274, 50%, 68%)
CMYKcmyk(21.3%, 50%, 0%, 31.8%)
CIE-LABlab(45.89, 37.22, -38.69)
CIE-LCHlch(45.89, 53.68, 313.89°)
OKLaboklab(54.9% 0.0877 -0.1082)
OKLCHoklch(54.9% 0.139 309)
XYZxyz(21.3632, 15.1911, 41.8429)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957AE #7CAE57
analogous
#5D57AE #8957AE #AE57A7
triadic
#8957AE #AE8957 #57AE89
tetradic
#8957AE #AE5D57 #7CAE57 #57A7AE
square
#8957AE #AE5D57 #7CAE57 #57A7AE
split-complementary
#8957AE #A7AE57 #57AE5D
monochromatic
#492D5E #694187 #8957AE #A680C2 #C3AAD6

Accessibility & contrast

On white

5.20
#8957AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8957AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8957AE#FFFFFF#000000##FFFFFF
##8957AE1.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)
#406BB1
Deuteranopia (green-blind)
#4F6DAC
Tritanopia (blue-blind)
#84667A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8957ae;
/* rgb */ color: rgb(137, 87, 174);
/* oklch */ color: oklch(54.9% 0.139 309.0);
Tailwind
colors: {
  custom: {
    50: '#ad88c6',
    500: '#8957ae',
    950: '#000000',
  },
}
SCSS
$custom: #8957ae;
$custom-light: #ad88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8957ae",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 274.483,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.13927,
    "h": 309
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8957AE

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

Preview Lab → · Contrast checker → · Palette generator →

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