#8142AD#8142AD

#8142AD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.7% C 0.169 H 308.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8142AD
RGBrgb(129, 66, 173)
HSLhsl(275, 45%, 47%)
HSVhsv(275, 62%, 68%)
CMYKcmyk(25.4%, 61.8%, 0%, 32.2%)
CIE-LABlab(40.54, 46.27, -46.68)
CIE-LCHlch(40.54, 65.73, 314.75°)
OKLaboklab(50.73% 0.1055 -0.1317)
OKLCHoklch(50.73% 0.169 308.7)
XYZxyz(18.5428, 11.5810, 40.7856)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142AD #6EAD42
analogous
#4C42AD #8142AD #AD42A4
triadic
#8142AD #AD8142 #42AD81
tetradic
#8142AD #AD4C42 #6EAD42 #42A4AD
square
#8142AD #AD4C42 #6EAD42 #42A4AD
split-complementary
#8142AD #A4AD42 #42AD4C
monochromatic
#3F2054 #603181 #8142AD #9E67C5 #BB93D6

Accessibility & contrast

On white

6.33
#8142AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8142AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142AD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142AD#FFFFFF#000000##FFFFFF
##8142AD1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105DB0
Deuteranopia (green-blind)
#3260AB
Tritanopia (blue-blind)
#7B5771
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8142ad;
/* rgb */ color: rgb(129, 66, 173);
/* oklch */ color: oklch(50.7% 0.169 308.7);
Tailwind
colors: {
  custom: {
    50: '#a97ac6',
    500: '#8142ad',
    950: '#000000',
  },
}
SCSS
$custom: #8142ad;
$custom-light: #a97ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8142ad",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 275.327,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50733,
    "c": 0.16874,
    "h": 308.7
  },
  "luminance": 0.11581
}

Semantic roles & 50–950 ramp

primary
#8142AD
secondary
#A0C189
accent
#D45388
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8142AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8142AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva