#8151AC#8151AC

#8151AC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.144 H 306.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8151AC
RGBrgb(129, 81, 172)
HSLhsl(272, 36%, 50%)
HSVhsv(272, 53%, 67%)
CMYKcmyk(25%, 52.9%, 0%, 32.5%)
CIE-LABlab(43.55, 37.91, -41.29)
CIE-LCHlch(43.55, 56.05, 312.55°)
OKLaboklab(52.92% 0.0857 -0.1159)
OKLCHoklch(52.92% 0.144 306.5)
XYZxyz(19.4405, 13.5307, 40.6093)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8151AC #7CAC51
analogous
#5451AC #8151AC #AC51AA
triadic
#8151AC #AC8151 #51AC81
tetradic
#8151AC #AC5451 #7CAC51 #51AAAC
square
#8151AC #AC5451 #7CAC51 #51AAAC
split-complementary
#8151AC #AAAC51 #51AC54
monochromatic
#432A59 #623D82 #8151AC #9F7AC0 #BDA3D4

Accessibility & contrast

On white

5.67
#8151AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8151AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8151AC#FFFFFF#000000##FFFFFF
##8151AC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#7A6177
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8151ac;
/* rgb */ color: rgb(129, 81, 172);
/* oklch */ color: oklch(52.9% 0.144 306.5);
Tailwind
colors: {
  custom: {
    50: '#a883c5',
    500: '#8151ac',
    950: '#000000',
  },
}
SCSS
$custom: #8151ac;
$custom-light: #a883c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8151ac",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 271.648,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.14416,
    "h": 306.5
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#8151AC
secondary
#ABC198
accent
#CC5C91
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8151AC

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

Preview Lab → · Contrast checker → · Palette generator →

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