#8147BD#8147BD

#8147BD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.180 H 303.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8147BD
RGBrgb(129, 71, 189)
HSLhsl(269, 47%, 51%)
HSVhsv(269, 62%, 74%)
CMYKcmyk(31.7%, 62.4%, 0%, 25.9%)
CIE-LABlab(42.53, 47.51, -52.90)
CIE-LCHlch(42.53, 71.10, 311.92°)
OKLaboklab(52.51% 0.0988 -0.1499)
OKLCHoklch(52.51% 0.18 303.4)
XYZxyz(20.4897, 12.8478, 49.5347)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147BD #83BD47
analogous
#4748BD #8147BD #BC47BD
triadic
#8147BD #BD8147 #47BD81
tetradic
#8147BD #BD4748 #83BD47 #47BDBC
square
#8147BD #BD4748 #83BD47 #47BDBC
split-complementary
#8147BD #BDBC47 #48BD47
monochromatic
#442465 #633492 #8147BD #A074CD #BFA1DD

Accessibility & contrast

On white

5.88
#8147BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8147BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147BD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147BD#FFFFFF#000000##FFFFFF
##8147BD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#76607B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8147bd;
/* rgb */ color: rgb(129, 71, 189);
/* oklch */ color: oklch(52.5% 0.180 303.4);
Tailwind
colors: {
  custom: {
    50: '#aa7dd2',
    500: '#8147bd',
    950: '#000000',
  },
}
SCSS
$custom: #8147bd;
$custom-light: #aa7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8147bd",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 269.492,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.17956,
    "h": 303.4
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#8147BD
secondary
#B0CA96
accent
#D75195
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8147BD

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

Preview Lab → · Contrast checker → · Palette generator →

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