#8142AF#8142AF

#8142AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.171 H 308.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8142AF
RGBrgb(129, 66, 175)
HSLhsl(275, 45%, 47%)
HSVhsv(275, 62%, 69%)
CMYKcmyk(26.3%, 62.3%, 0%, 31.4%)
CIE-LABlab(40.67, 46.74, -47.67)
CIE-LCHlch(40.67, 66.76, 314.44°)
OKLaboklab(50.87% 0.1055 -0.1345)
OKLCHoklch(50.87% 0.171 308.1)
XYZxyz(18.7378, 11.6590, 41.8124)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8142AF #70AF42
analogous
#4B42AF #8142AF #AF42A6
triadic
#8142AF #AF8142 #42AF81
tetradic
#8142AF #AF4B42 #70AF42 #42A6AF
square
#8142AF #AF4B42 #70AF42 #42A6AF
split-complementary
#8142AF #A6AF42 #42AF4B
monochromatic
#3F2056 #603183 #8142AF #9E68C6 #BB95D7

Accessibility & contrast

On white

6.30
#8142AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8142AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8142AF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8142AF#FFFFFF#000000##FFFFFF
##8142AF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5DB2
Deuteranopia (green-blind)
#3061AC
Tritanopia (blue-blind)
#7A5872
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8142af;
/* rgb */ color: rgb(129, 66, 175);
/* oklch */ color: oklch(50.9% 0.171 308.1);
Tailwind
colors: {
  custom: {
    50: '#a97ac7',
    500: '#8142af',
    950: '#000000',
  },
}
SCSS
$custom: #8142af;
$custom-light: #a97ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8142af",
  "rgb": {
    "r": 129,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 274.679,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.17096,
    "h": 308.1
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#8142AF
secondary
#A2C28A
accent
#D5538A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8142AF

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

Preview Lab → · Contrast checker → · Palette generator →

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