#8125A2#8125A2

#8125A2 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.195 H 315.2°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8125A2
RGBrgb(129, 37, 162)
HSLhsl(284, 63%, 39%)
HSVhsv(284, 77%, 64%)
CMYKcmyk(20.4%, 77.2%, 0%, 36.5%)
CIE-LABlab(35.20, 56.73, -48.70)
CIE-LCHlch(35.20, 74.76, 319.36°)
OKLaboklab(46.67% 0.1383 -0.1374)
OKLCHoklch(46.67% 0.195 315.2)
XYZxyz(16.2354, 8.5995, 34.9801)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8125A2 #46A225
analogous
#4325A2 #8125A2 #A22585
triadic
#8125A2 #A28125 #25A281
tetradic
#8125A2 #A24325 #46A225 #2585A2
square
#8125A2 #A24325 #46A225 #2585A2
split-complementary
#8125A2 #85A225 #25A243
monochromatic
#320E3E #591A70 #8125A2 #A734D1 #BD65DC

Accessibility & contrast

On white

7.72
#8125A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8125A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8125A2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8125A2#FFFFFF#000000##FFFFFF
##8125A21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#7E4163
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8125a2;
/* rgb */ color: rgb(129, 37, 162);
/* oklch */ color: oklch(46.7% 0.195 315.2);
Tailwind
colors: {
  custom: {
    50: '#aa6abe',
    500: '#8125a2',
    950: '#000000',
  },
}
SCSS
$custom: #8125a2;
$custom-light: #aa6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8125a2",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 284.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.19491,
    "h": 315.2
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#8125A2
secondary
#7BC261
accent
#E6426D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8125A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8125A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva