#8147E2#8147E2

#8147E2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.221 H 295.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8147E2
RGBrgb(129, 71, 226)
HSLhsl(262, 73%, 58%)
HSVhsv(262, 69%, 89%)
CMYKcmyk(42.9%, 68.6%, 0%, 11.4%)
CIE-LABlab(45.17, 56.82, -69.94)
CIE-LCHlch(45.17, 90.11, 309.09°)
OKLaboklab(55.24% 0.0947 -0.2)
OKLCHoklch(55.24% 0.221 295.3)
XYZxyz(25.0303, 14.6640, 73.4484)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8147E2 #A8E247
analogous
#475AE2 #8147E2 #CF47E2
triadic
#8147E2 #E28147 #47E281
tetradic
#8147E2 #E2475A #A8E247 #47E2CF
square
#8147E2 #E2475A #A8E247 #47E2CF
split-complementary
#8147E2 #E2CF47 #5AE247
monochromatic
#471897 #6020CC #8147E2 #A57CEA #C9B1F3

Accessibility & contrast

On white

5.34
#8147E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8147E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8147E2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8147E2#FFFFFF#000000##FFFFFF
##8147E21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#676D8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8147e2;
/* rgb */ color: rgb(129, 71, 226);
/* oklch */ color: oklch(55.2% 0.221 295.3);
Tailwind
colors: {
  custom: {
    50: '#ad7eec',
    500: '#8147e2',
    950: '#000000',
  },
}
SCSS
$custom: #8147e2;
$custom-light: #ad7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8147e2",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 262.452,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.22128,
    "h": 295.3
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#8147E2
secondary
#CAE1A4
accent
#EF38AB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8147E2

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

Preview Lab → · Contrast checker → · Palette generator →

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