#8148AE#8148AE

#8148AE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.161 H 307.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8148AE
RGBrgb(129, 72, 174)
HSLhsl(274, 41%, 48%)
HSVhsv(274, 59%, 68%)
CMYKcmyk(25.9%, 58.6%, 0%, 31.8%)
CIE-LABlab(41.78, 43.35, -45.30)
CIE-LCHlch(41.78, 62.70, 313.74°)
OKLaboklab(51.65% 0.0979 -0.1276)
OKLCHoklch(51.65% 0.161 307.5)
XYZxyz(19.0090, 12.3581, 41.4201)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8148AE #75AE48
analogous
#4E48AE #8148AE #AE48A8
triadic
#8148AE #AE8148 #48AE81
tetradic
#8148AE #AE4E48 #75AE48 #48A8AE
square
#8148AE #AE4E48 #75AE48 #48A8AE
split-complementary
#8148AE #A8AE48 #48AE4E
monochromatic
#412457 #613683 #8148AE #9F70C4 #BC9BD6

Accessibility & contrast

On white

6.05
#8148AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8148AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8148AE#FFFFFF#000000##FFFFFF
##8148AE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#7A5B74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8148ae;
/* rgb */ color: rgb(129, 72, 174);
/* oklch */ color: oklch(51.7% 0.161 307.5);
Tailwind
colors: {
  custom: {
    50: '#a97ec7',
    500: '#8148ae',
    950: '#000000',
  },
}
SCSS
$custom: #8148ae;
$custom-light: #a97ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8148ae",
  "rgb": {
    "r": 129,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 273.529,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.16082,
    "h": 307.5
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#8148AE
secondary
#A6C290
accent
#D1578D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8148AE

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

Preview Lab → · Contrast checker → · Palette generator →

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