#8159AF#8159AF

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

Color values

HEX#8159AF
RGBrgb(129, 89, 175)
HSLhsl(268, 35%, 52%)
HSVhsv(268, 49%, 69%)
CMYKcmyk(26.3%, 49.1%, 0%, 31.4%)
CIE-LABlab(45.51, 34.06, -39.95)
CIE-LCHlch(45.51, 52.50, 310.45°)
OKLaboklab(54.43% 0.0748 -0.112)
OKLCHoklch(54.43% 0.135 303.7)
XYZxyz(20.3618, 14.9071, 42.3538)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159AF #87AF59
analogous
#595CAF #8159AF #AC59AF
triadic
#8159AF #AF8159 #59AF81
tetradic
#8159AF #AF595C #87AF59 #59AFAC
square
#8159AF #AF595C #87AF59 #59AFAC
split-complementary
#8159AF #AFAC59 #5CAF59
monochromatic
#452E60 #634289 #8159AF #A082C3 #C0ACD7

Accessibility & contrast

On white

5.27
#8159AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8159AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159AF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159AF#FFFFFF#000000##FFFFFF
##8159AF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#4A6CAD
Tritanopia (blue-blind)
#79687C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8159af;
/* rgb */ color: rgb(129, 89, 175);
/* oklch */ color: oklch(54.4% 0.135 303.7);
Tailwind
colors: {
  custom: {
    50: '#a889c7',
    500: '#8159af',
    950: '#000000',
  },
}
SCSS
$custom: #8159af;
$custom-light: #a889c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8159af",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 267.907,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.13473,
    "h": 303.7
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

primary
#8159AF
secondary
#B3C59F
accent
#CB5D98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8159AF

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

Preview Lab → · Contrast checker → · Palette generator →

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