#8147B2#8147B2

#8147B2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.167 H 306.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8147B2
RGBrgb(129, 71, 178)
HSLhsl(273, 43%, 49%)
HSVhsv(273, 60%, 70%)
CMYKcmyk(27.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(41.83, 44.84, -47.58)
CIE-LCHlch(41.83, 65.38, 313.30°)
OKLaboklab(51.77% 0.0992 -0.1343)
OKLCHoklch(51.77% 0.167 306.4)
XYZxyz(19.3407, 12.3881, 43.4831)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147B2 #78B247
analogous
#4B47B2 #8147B2 #B247AE
triadic
#8147B2 #B28147 #47B281
tetradic
#8147B2 #B24B47 #78B247 #47AEB2
square
#8147B2 #B24B47 #78B247 #47AEB2
split-complementary
#8147B2 #AEB247 #47B24B
monochromatic
#42245B #613686 #8147B2 #9F70C6 #BC9CD7

Accessibility & contrast

On white

6.04
#8147B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8147B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147B2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147B2#FFFFFF#000000##FFFFFF
##8147B21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B5
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#795C76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8147b2;
/* rgb */ color: rgb(129, 71, 178);
/* oklch */ color: oklch(51.8% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#a97dca',
    500: '#8147b2',
    950: '#000000',
  },
}
SCSS
$custom: #8147b2;
$custom-light: #a97dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8147b2",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 272.523,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.16695,
    "h": 306.4
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#8147B2
secondary
#A8C491
accent
#D3558F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8147B2

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

Preview Lab → · Contrast checker → · Palette generator →

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