#8124A7#8124A7

#8124A7 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.200 H 313.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8124A7
RGBrgb(129, 36, 167)
HSLhsl(283, 65%, 40%)
HSVhsv(283, 78%, 65%)
CMYKcmyk(22.8%, 78.4%, 0%, 34.5%)
CIE-LABlab(35.44, 58.09, -51.33)
CIE-LCHlch(35.44, 77.52, 318.54°)
OKLaboklab(46.95% 0.1383 -0.1451)
OKLCHoklch(46.95% 0.2 313.6)
XYZxyz(16.6580, 8.7195, 37.3573)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8124A7 #4AA724
analogous
#3F24A7 #8124A7 #A7248C
triadic
#8124A7 #A78124 #24A781
tetradic
#8124A7 #A73F24 #4AA724 #248CA7
square
#8124A7 #A73F24 #4AA724 #248CA7
split-complementary
#8124A7 #8CA724 #24A73F
monochromatic
#330E42 #5A1975 #8124A7 #A535D3 #BC67DE

Accessibility & contrast

On white

7.65
#8124A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8124A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8124A7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8124A7#FFFFFF#000000##FFFFFF
##8124A71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#1555A4
Tritanopia (blue-blind)
#7D4365
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8124a7;
/* rgb */ color: rgb(129, 36, 167);
/* oklch */ color: oklch(47.0% 0.200 313.6);
Tailwind
colors: {
  custom: {
    50: '#aa6ac2',
    500: '#8124a7',
    950: '#000000',
  },
}
SCSS
$custom: #8124a7;
$custom-light: #aa6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8124a7",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 282.595,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.20044,
    "h": 313.6
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#8124A7
secondary
#7FC463
accent
#E84071
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8124A7

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

Preview Lab → · Contrast checker → · Palette generator →

#8124A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva