#8147AF#8147AF

#8147AF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.164 H 307.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8147AF
RGBrgb(129, 71, 175)
HSLhsl(273, 42%, 48%)
HSVhsv(273, 59%, 69%)
CMYKcmyk(26.3%, 59.4%, 0%, 31.4%)
CIE-LABlab(41.64, 44.12, -46.11)
CIE-LCHlch(41.64, 63.82, 313.74°)
OKLaboklab(51.57% 0.0992 -0.13)
OKLCHoklch(51.57% 0.164 307.3)
XYZxyz(19.0428, 12.2690, 41.9141)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147AF #75AF47
analogous
#4D47AF #8147AF #AF47A9
triadic
#8147AF #AF8147 #47AF81
tetradic
#8147AF #AF4D47 #75AF47 #47A9AF
square
#8147AF #AF4D47 #75AF47 #47A9AF
split-complementary
#8147AF #A9AF47 #47AF4D
monochromatic
#412458 #613583 #8147AF #9F6FC4 #BC9AD6

Accessibility & contrast

On white

6.08
#8147AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8147AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147AF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147AF#FFFFFF#000000##FFFFFF
##8147AF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#7A5B74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8147af;
/* rgb */ color: rgb(129, 71, 175);
/* oklch */ color: oklch(51.6% 0.164 307.3);
Tailwind
colors: {
  custom: {
    50: '#a97dc7',
    500: '#8147af',
    950: '#000000',
  },
}
SCSS
$custom: #8147af;
$custom-light: #a97dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8147af",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 273.462,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.1635,
    "h": 307.3
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#8147AF
secondary
#A6C28F
accent
#D2568D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8147AF

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

Preview Lab → · Contrast checker → · Palette generator →

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