#8147BA#8147BA

#8147BA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.176 H 304.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8147BA
RGBrgb(129, 71, 186)
HSLhsl(270, 45%, 50%)
HSVhsv(270, 62%, 73%)
CMYKcmyk(30.6%, 61.8%, 0%, 27.1%)
CIE-LABlab(42.34, 46.77, -51.46)
CIE-LCHlch(42.34, 69.54, 312.27°)
OKLaboklab(52.3% 0.0989 -0.1457)
OKLCHoklch(52.3% 0.176 304.2)
XYZxyz(20.1674, 12.7188, 47.8374)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147BA #80BA47
analogous
#4747BA #8147BA #BA47BA
triadic
#8147BA #BA8147 #47BA81
tetradic
#8147BA #BA4747 #80BA47 #47BABA
square
#8147BA #BA4747 #80BA47 #47BABA
split-complementary
#8147BA #BABA47 #47BA47
monochromatic
#442562 #62358E #8147BA #9F74CB #BEA0DB

Accessibility & contrast

On white

5.93
#8147BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8147BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147BA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147BA#FFFFFF#000000##FFFFFF
##8147BA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#775F7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8147ba;
/* rgb */ color: rgb(129, 71, 186);
/* oklch */ color: oklch(52.3% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#a97dcf',
    500: '#8147ba',
    950: '#000000',
  },
}
SCSS
$custom: #8147ba;
$custom-light: #a97dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8147ba",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 270.261,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.17613,
    "h": 304.2
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#8147BA
secondary
#AEC895
accent
#D55393
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8147BA

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

Preview Lab → · Contrast checker → · Palette generator →

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