#8148AA#8148AA

#8148AA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.156 H 308.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8148AA
RGBrgb(129, 72, 170)
HSLhsl(275, 40%, 47%)
HSVhsv(275, 58%, 67%)
CMYKcmyk(24.1%, 57.6%, 0%, 33.3%)
CIE-LABlab(41.54, 42.40, -43.31)
CIE-LCHlch(41.54, 60.61, 314.39°)
OKLaboklab(51.4% 0.0978 -0.1218)
OKLCHoklch(51.4% 0.156 308.8)
XYZxyz(18.6249, 12.2044, 39.3969)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148AA #71AA48
analogous
#5048AA #8148AA #AA48A2
triadic
#8148AA #AA8148 #48AA81
tetradic
#8148AA #AA5048 #71AA48 #48A2AA
square
#8148AA #AA5048 #71AA48 #48A2AA
split-complementary
#8148AA #A2AA48 #48AA50
monochromatic
#402454 #60367F #8148AA #9E6EC1 #BB99D4

Accessibility & contrast

On white

6.10
#8148AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8148AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8148AA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8148AA#FFFFFF#000000##FFFFFF
##8148AA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#7B5A72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8148aa;
/* rgb */ color: rgb(129, 72, 170);
/* oklch */ color: oklch(51.4% 0.156 308.8);
Tailwind
colors: {
  custom: {
    50: '#a87dc4',
    500: '#8148aa',
    950: '#000000',
  },
}
SCSS
$custom: #8148aa;
$custom-light: #a87dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8148aa",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 274.898,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.1562,
    "h": 308.8
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#8148AA
secondary
#A3C08E
accent
#D0578A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8148AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8148AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva