#8147BE#8147BE

#8147BE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.181 H 303.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8147BE
RGBrgb(129, 71, 190)
HSLhsl(269, 48%, 51%)
HSVhsv(269, 63%, 75%)
CMYKcmyk(32.1%, 62.6%, 0%, 25.5%)
CIE-LABlab(42.60, 47.75, -53.38)
CIE-LCHlch(42.60, 71.62, 311.81°)
OKLaboklab(52.58% 0.0988 -0.1513)
OKLCHoklch(52.58% 0.181 303.1)
XYZxyz(20.5986, 12.8913, 50.1083)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147BE #84BE47
analogous
#4748BE #8147BE #BC47BE
triadic
#8147BE #BE8147 #47BE81
tetradic
#8147BE #BE4748 #84BE47 #47BEBC
square
#8147BE #BE4748 #84BE47 #47BEBC
split-complementary
#8147BE #BEBC47 #48BE47
monochromatic
#442466 #633494 #8147BE #A074CE #BFA1DE

Accessibility & contrast

On white

5.87
#8147BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8147BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147BE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147BE#FFFFFF#000000##FFFFFF
##8147BE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#2464BB
Tritanopia (blue-blind)
#75607C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8147be;
/* rgb */ color: rgb(129, 71, 190);
/* oklch */ color: oklch(52.6% 0.181 303.1);
Tailwind
colors: {
  custom: {
    50: '#aa7dd2',
    500: '#8147be',
    950: '#000000',
  },
}
SCSS
$custom: #8147be;
$custom-light: #aa7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8147be",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 269.244,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.18071,
    "h": 303.1
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#8147BE
secondary
#B1CB96
accent
#D75096
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8147BE

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

Preview Lab → · Contrast checker → · Palette generator →

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