#8147D4#8147D4

#8147D4 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.206 H 298.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8147D4
RGBrgb(129, 71, 212)
HSLhsl(265, 62%, 55%)
HSVhsv(265, 67%, 83%)
CMYKcmyk(39.2%, 66.5%, 0%, 16.9%)
CIE-LABlab(44.13, 53.25, -63.64)
CIE-LCHlch(44.13, 82.98, 309.92°)
OKLaboklab(54.16% 0.0967 -0.1815)
OKLCHoklch(54.16% 0.206 298)
XYZxyz(23.1871, 13.9267, 63.7411)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147D4 #9AD447
analogous
#4753D4 #8147D4 #C847D4
triadic
#8147D4 #D48147 #47D481
tetradic
#8147D4 #D44753 #9AD447 #47D4C8
square
#8147D4 #D44753 #9AD447 #47D4C8
split-complementary
#8147D4 #D4C847 #53D447
monochromatic
#471E82 #632AB4 #8147D4 #A379E0 #C5AAEB

Accessibility & contrast

On white

5.55
#8147D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8147D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147D4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147D4#FFFFFF#000000##FFFFFF
##8147D41.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#6D6888
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8147d4;
/* rgb */ color: rgb(129, 71, 212);
/* oklch */ color: oklch(54.2% 0.206 298.0);
Tailwind
colors: {
  custom: {
    50: '#ac7ee2',
    500: '#8147d4',
    950: '#000000',
  },
}
SCSS
$custom: #8147d4;
$custom-light: #ac7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8147d4",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 264.681,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.20565,
    "h": 298
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#8147D4
secondary
#C1D99E
accent
#E543A2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8147D4

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

Preview Lab → · Contrast checker → · Palette generator →

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