#8151AA#8151AA

#8151AA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.8% C 0.142 H 307.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8151AA
RGBrgb(129, 81, 170)
HSLhsl(272, 35%, 49%)
HSVhsv(272, 52%, 67%)
CMYKcmyk(24.1%, 52.4%, 0%, 33.3%)
CIE-LABlab(43.44, 37.42, -40.28)
CIE-LCHlch(43.44, 54.98, 312.89°)
OKLaboklab(52.8% 0.0855 -0.113)
OKLCHoklch(52.8% 0.142 307.1)
XYZxyz(19.2499, 13.4545, 39.6053)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151AA #7AAA51
analogous
#5551AA #8151AA #AA51A7
triadic
#8151AA #AA8151 #51AA81
tetradic
#8151AA #AA5551 #7AAA51 #51A7AA
square
#8151AA #AA5551 #7AAA51 #51A7AA
split-complementary
#8151AA #A7AA51 #51AA55
monochromatic
#422A57 #623D81 #8151AA #9F79BF #BDA2D3

Accessibility & contrast

On white

5.69
#8151AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8151AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8151AA#FFFFFF#000000##FFFFFF
##8151AA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#7B6176
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8151aa;
/* rgb */ color: rgb(129, 81, 170);
/* oklch */ color: oklch(52.8% 0.142 307.1);
Tailwind
colors: {
  custom: {
    50: '#a883c4',
    500: '#8151aa',
    950: '#000000',
  },
}
SCSS
$custom: #8151aa;
$custom-light: #a883c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8151aa",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 272.36,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.14171,
    "h": 307.1
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#8151AA
secondary
#AAC097
accent
#CB5C90
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8151AA

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

Preview Lab → · Contrast checker → · Palette generator →

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