#8147DC#8147DC

#8147DC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.215 H 296.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8147DC
RGBrgb(129, 71, 220)
HSLhsl(263, 68%, 57%)
HSVhsv(263, 68%, 86%)
CMYKcmyk(41.4%, 67.7%, 0%, 13.7%)
CIE-LABlab(44.72, 55.29, -67.26)
CIE-LCHlch(44.72, 87.07, 309.42°)
OKLaboklab(54.77% 0.0956 -0.1921)
OKLCHoklch(54.77% 0.215 296.5)
XYZxyz(24.2214, 14.3404, 69.1881)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147DC #A2DC47
analogous
#4757DC #8147DC #CC47DC
triadic
#8147DC #DC8147 #47DC81
tetradic
#8147DC #DC4757 #A2DC47 #47DCCC
square
#8147DC #DC4757 #A2DC47 #47DCCC
split-complementary
#8147DC #DCCC47 #57DC47
monochromatic
#481B8E #6225C1 #8147DC #A47AE6 #C7AEF0

Accessibility & contrast

On white

5.43
#8147DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8147DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147DC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147DC#FFFFFF#000000##FFFFFF
##8147DC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#6A6B8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8147dc;
/* rgb */ color: rgb(129, 71, 220);
/* oklch */ color: oklch(54.8% 0.215 296.5);
Tailwind
colors: {
  custom: {
    50: '#ac7ee8',
    500: '#8147dc',
    950: '#000000',
  },
}
SCSS
$custom: #8147dc;
$custom-light: #ac7ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8147dc",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 263.356,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54771,
    "c": 0.21461,
    "h": 296.5
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#8147DC
secondary
#C6DEA1
accent
#EB3DA7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8147DC

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

Preview Lab → · Contrast checker → · Palette generator →

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