#8147D8#8147D8

#8147D8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.210 H 297.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8147D8
RGBrgb(129, 71, 216)
HSLhsl(264, 65%, 56%)
HSVhsv(264, 67%, 85%)
CMYKcmyk(40.3%, 67.1%, 0%, 15.3%)
CIE-LABlab(44.42, 54.27, -65.46)
CIE-LCHlch(44.42, 85.03, 309.66°)
OKLaboklab(54.47% 0.0962 -0.1868)
OKLCHoklch(54.47% 0.21 297.2)
XYZxyz(23.6980, 14.1311, 66.4314)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147D8 #9ED847
analogous
#4756D8 #8147D8 #CA47D8
triadic
#8147D8 #D88147 #47D881
tetradic
#8147D8 #D84756 #9ED847 #47D8CA
square
#8147D8 #D84756 #9ED847 #47D8CA
split-complementary
#8147D8 #D8CA47 #56D847
monochromatic
#481D88 #6227BA #8147D8 #A479E3 #C6ACED

Accessibility & contrast

On white

5.49
#8147D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8147D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147D8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147D8#FFFFFF#000000##FFFFFF
##8147D81.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#6B6A8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8147d8;
/* rgb */ color: rgb(129, 71, 216);
/* oklch */ color: oklch(54.5% 0.210 297.2);
Tailwind
colors: {
  custom: {
    50: '#ac7ee5',
    500: '#8147d8',
    950: '#000000',
  },
}
SCSS
$custom: #8147d8;
$custom-light: #ac7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8147d8",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 264,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.21014,
    "h": 297.2
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#8147D8
secondary
#C3DBA0
accent
#E840A5
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8147D8

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

Preview Lab → · Contrast checker → · Palette generator →

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