#8127BA#8127BA

#8127BA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.215 H 307.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8127BA
RGBrgb(129, 39, 186)
HSLhsl(277, 65%, 44%)
HSVhsv(277, 79%, 73%)
CMYKcmyk(30.6%, 79%, 0%, 27.1%)
CIE-LABlab(37.23, 61.05, -59.72)
CIE-LCHlch(37.23, 85.40, 315.63°)
OKLaboklab(48.66% 0.1317 -0.1698)
OKLCHoklch(48.66% 0.215 307.8)
XYZxyz(18.6398, 9.6636, 47.3282)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127BA #60BA27
analogous
#3827BA #8127BA #BA27AA
triadic
#8127BA #BA8127 #27BA81
tetradic
#8127BA #BA3827 #60BA27 #27AABA
square
#8127BA #BA3827 #60BA27 #27AABA
split-complementary
#8127BA #AABA27 #27BA38
monochromatic
#3B1255 #5E1C87 #8127BA #A046D8 #BA79E3

Accessibility & contrast

On white

7.16
#8127BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8127BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127BA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127BA#FFFFFF#000000##FFFFFF
##8127BA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#784D71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8127ba;
/* rgb */ color: rgb(129, 39, 186);
/* oklch */ color: oklch(48.7% 0.215 307.8);
Tailwind
colors: {
  custom: {
    50: '#ab6cd0',
    500: '#8127ba',
    950: '#000000',
  },
}
SCSS
$custom: #8127ba;
$custom-light: #ab6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8127ba",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 276.735,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.2149,
    "h": 307.8
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#8127BA
secondary
#94CB72
accent
#E84081
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8127BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8127BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva