#8147BC#8147BC

#8147BC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.178 H 303.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8147BC
RGBrgb(129, 71, 188)
HSLhsl(270, 47%, 51%)
HSVhsv(270, 62%, 74%)
CMYKcmyk(31.4%, 62.2%, 0%, 26.3%)
CIE-LABlab(42.47, 47.26, -52.42)
CIE-LCHlch(42.47, 70.58, 312.04°)
OKLaboklab(52.44% 0.0988 -0.1485)
OKLCHoklch(52.44% 0.178 303.6)
XYZxyz(20.3815, 12.8045, 48.9650)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147BC #82BC47
analogous
#4747BC #8147BC #BC47BC
triadic
#8147BC #BC8147 #47BC81
tetradic
#8147BC #BC4747 #82BC47 #47BCBC
square
#8147BC #BC4747 #82BC47 #47BCBC
split-complementary
#8147BC #BCBC47 #47BC47
monochromatic
#442464 #633591 #8147BC #A074CC #BEA1DD

Accessibility & contrast

On white

5.90
#8147BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8147BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147BC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147BC#FFFFFF#000000##FFFFFF
##8147BC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#765F7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8147bc;
/* rgb */ color: rgb(129, 71, 188);
/* oklch */ color: oklch(52.4% 0.178 303.6);
Tailwind
colors: {
  custom: {
    50: '#aa7dd1',
    500: '#8147bc',
    950: '#000000',
  },
}
SCSS
$custom: #8147bc;
$custom-light: #aa7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8147bc",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 269.744,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.17842,
    "h": 303.6
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#8147BC
secondary
#B0C995
accent
#D65294
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8147BC

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

Preview Lab → · Contrast checker → · Palette generator →

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