#8147B8#8147B8

#8147B8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.174 H 304.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8147B8
RGBrgb(129, 71, 184)
HSLhsl(271, 44%, 50%)
HSVhsv(271, 61%, 72%)
CMYKcmyk(29.9%, 61.4%, 0%, 27.8%)
CIE-LABlab(42.21, 46.29, -50.50)
CIE-LCHlch(42.21, 68.50, 312.51°)
OKLaboklab(52.17% 0.099 -0.1429)
OKLCHoklch(52.17% 0.174 304.7)
XYZxyz(19.9563, 12.6344, 46.7255)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147B8 #7EB847
analogous
#4847B8 #8147B8 #B847B7
triadic
#8147B8 #B88147 #47B881
tetradic
#8147B8 #B84847 #7EB847 #47B7B8
square
#8147B8 #B84847 #7EB847 #47B7B8
split-complementary
#8147B8 #B7B847 #47B848
monochromatic
#432560 #62368C #8147B8 #9F73C9 #BD9FDA

Accessibility & contrast

On white

5.95
#8147B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8147B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147B8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147B8#FFFFFF#000000##FFFFFF
##8147B81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BC
Deuteranopia (green-blind)
#2C64B5
Tritanopia (blue-blind)
#775E79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8147b8;
/* rgb */ color: rgb(129, 71, 184);
/* oklch */ color: oklch(52.2% 0.174 304.7);
Tailwind
colors: {
  custom: {
    50: '#a97dce',
    500: '#8147b8',
    950: '#000000',
  },
}
SCSS
$custom: #8147b8;
$custom-light: #a97dce;
$custom-dark: #000000;
JSON
{
  "hex": "#8147b8",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 270.796,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.52167,
    "c": 0.17384,
    "h": 304.7
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#8147B8
secondary
#ADC794
accent
#D45492
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8147B8

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

Preview Lab → · Contrast checker → · Palette generator →

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