#8151AE#8151AE

#8151AE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.0% C 0.147 H 305.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8151AE
RGBrgb(129, 81, 174)
HSLhsl(271, 36%, 50%)
HSVhsv(271, 53%, 68%)
CMYKcmyk(25.9%, 53.4%, 0%, 31.8%)
CIE-LABlab(43.67, 38.39, -42.29)
CIE-LCHlch(43.67, 57.11, 312.24°)
OKLaboklab(53.04% 0.0858 -0.1188)
OKLCHoklch(53.04% 0.147 305.8)
XYZxyz(19.6341, 13.6081, 41.6285)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151AE #7EAE51
analogous
#5251AE #8151AE #AE51AD
triadic
#8151AE #AE8151 #51AE81
tetradic
#8151AE #AE5251 #7EAE51 #51ADAE
square
#8151AE #AE5251 #7EAE51 #51ADAE
split-complementary
#8151AE #ADAE51 #51AE52
monochromatic
#432A5A #623E84 #8151AE #9F7BC1 #BDA5D5

Accessibility & contrast

On white

5.64
#8151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8151AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8151AE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8151AE#FFFFFF#000000##FFFFFF
##8151AE1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#7A6278
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8151ae;
/* rgb */ color: rgb(129, 81, 174);
/* oklch */ color: oklch(53.0% 0.147 305.8);
Tailwind
colors: {
  custom: {
    50: '#a883c7',
    500: '#8151ae',
    950: '#000000',
  },
}
SCSS
$custom: #8151ae;
$custom-light: #a883c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8151ae",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 270.968,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.1466,
    "h": 305.8
  },
  "luminance": 0.13608
}

Semantic roles & 50–950 ramp

primary
#8151AE
secondary
#ADC299
accent
#CC5B92
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8151AE

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

Preview Lab → · Contrast checker → · Palette generator →

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