#8951AF#8951AF

#8951AF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.150 H 309.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8951AF
RGBrgb(137, 81, 175)
HSLhsl(276, 37%, 50%)
HSVhsv(276, 54%, 69%)
CMYKcmyk(21.7%, 53.7%, 0%, 31.4%)
CIE-LABlab(44.66, 40.79, -41.24)
CIE-LCHlch(44.66, 58.01, 314.69°)
OKLaboklab(54% 0.0962 -0.1156)
OKLCHoklch(54% 0.15 309.8)
XYZxyz(20.9954, 14.2987, 42.2030)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951AF #77AF51
analogous
#5A51AF #8951AF #AF51A6
triadic
#8951AF #AF8951 #51AF89
tetradic
#8951AF #AF5A51 #77AF51 #51A6AF
square
#8951AF #AF5A51 #77AF51 #51A6AF
split-complementary
#8951AF #A6AF51 #51AF5A
monochromatic
#482A5C #683D85 #8951AF #A57BC2 #C2A5D6

Accessibility & contrast

On white

5.44
#8951AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8951AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951AF#FFFFFF#000000##FFFFFF
##8951AF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#486BAD
Tritanopia (blue-blind)
#846178
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8951af;
/* rgb */ color: rgb(137, 81, 175);
/* oklch */ color: oklch(54.0% 0.150 309.8);
Tailwind
colors: {
  custom: {
    50: '#ae84c7',
    500: '#8951af',
    950: '#000000',
  },
}
SCSS
$custom: #8951af;
$custom-light: #ae84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8951af",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 275.745,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.15037,
    "h": 309.8
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#8951AF
secondary
#AAC399
accent
#CD5B89
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8951AF

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

Preview Lab → · Contrast checker → · Palette generator →

#8951AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva