#8159AE#8159AE

#8159AE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.4% C 0.133 H 304.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8159AE
RGBrgb(129, 89, 174)
HSLhsl(268, 34%, 52%)
HSVhsv(268, 49%, 68%)
CMYKcmyk(25.9%, 48.9%, 0%, 31.8%)
CIE-LABlab(45.45, 33.82, -39.45)
CIE-LCHlch(45.45, 51.96, 310.60°)
OKLaboklab(54.37% 0.0747 -0.1106)
OKLCHoklch(54.37% 0.133 304)
XYZxyz(20.2640, 14.8679, 41.8384)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159AE #86AE59
analogous
#595CAE #8159AE #AC59AE
triadic
#8159AE #AE8159 #59AE81
tetradic
#8159AE #AE595C #86AE59 #59AEAC
square
#8159AE #AE595C #86AE59 #59AEAC
split-complementary
#8159AE #AEAC59 #5CAE59
monochromatic
#452E5E #634288 #8159AE #A082C2 #BFABD6

Accessibility & contrast

On white

5.28
#8159AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8159AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159AE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159AE#FFFFFF#000000##FFFFFF
##8159AE1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB1
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#79687B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8159ae;
/* rgb */ color: rgb(129, 89, 174);
/* oklch */ color: oklch(54.4% 0.133 304.0);
Tailwind
colors: {
  custom: {
    50: '#a889c6',
    500: '#8159ae',
    950: '#000000',
  },
}
SCSS
$custom: #8159ae;
$custom-light: #a889c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8159ae",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 268.235,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.13345,
    "h": 304
  },
  "luminance": 0.14868
}

Semantic roles & 50–950 ramp

primary
#8159AE
secondary
#B3C49F
accent
#CA5D97
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8159AE

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

Preview Lab → · Contrast checker → · Palette generator →

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