#8127BC#8127BC

#8127BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.217 H 307.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8127BC
RGBrgb(129, 39, 188)
HSLhsl(276, 66%, 45%)
HSVhsv(276, 79%, 74%)
CMYKcmyk(31.4%, 79.3%, 0%, 26.3%)
CIE-LABlab(37.39, 61.48, -60.65)
CIE-LCHlch(37.39, 86.36, 315.39°)
OKLaboklab(48.82% 0.1312 -0.1725)
OKLCHoklch(48.82% 0.217 307.3)
XYZxyz(18.8539, 9.7493, 48.4558)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127BC #62BC27
analogous
#3727BC #8127BC #BC27AD
triadic
#8127BC #BC8127 #27BC81
tetradic
#8127BC #BC3727 #62BC27 #27ADBC
square
#8127BC #BC3727 #62BC27 #27ADBC
split-complementary
#8127BC #ADBC27 #27BC37
monochromatic
#3B1257 #5E1C89 #8127BC #9F47D9 #BA7AE3

Accessibility & contrast

On white

7.12
#8127BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8127BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127BC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127BC#FFFFFF#000000##FFFFFF
##8127BC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#774E72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8127bc;
/* rgb */ color: rgb(129, 39, 188);
/* oklch */ color: oklch(48.8% 0.217 307.3);
Tailwind
colors: {
  custom: {
    50: '#ab6cd1',
    500: '#8127bc',
    950: '#000000',
  },
}
SCSS
$custom: #8127bc;
$custom-light: #ab6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8127bc",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 276.242,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.21676,
    "h": 307.3
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#8127BC
secondary
#96CB73
accent
#E93F82
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8127BC

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

Preview Lab → · Contrast checker → · Palette generator →

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