#8127A3#8127A3

#8127A3 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.194 H 314.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8127A3
RGBrgb(129, 39, 163)
HSLhsl(284, 61%, 40%)
HSVhsv(284, 76%, 64%)
CMYKcmyk(20.9%, 76.1%, 0%, 36.1%)
CIE-LABlab(35.52, 56.21, -48.78)
CIE-LCHlch(35.52, 74.42, 319.05°)
OKLaboklab(46.92% 0.1363 -0.1377)
OKLCHoklch(46.92% 0.194 314.7)
XYZxyz(16.3885, 8.7631, 35.4714)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127A3 #49A327
analogous
#4327A3 #8127A3 #A32787
triadic
#8127A3 #A38127 #27A381
tetradic
#8127A3 #A34327 #49A327 #2787A3
square
#8127A3 #A34327 #49A327 #2787A3
split-complementary
#8127A3 #87A327 #27A343
monochromatic
#330F40 #5A1B72 #8127A3 #A638CF #BC69DB

Accessibility & contrast

On white

7.63
#8127A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8127A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127A3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127A3#FFFFFF#000000##FFFFFF
##8127A31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#2056A0
Tritanopia (blue-blind)
#7E4364
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8127a3;
/* rgb */ color: rgb(129, 39, 163);
/* oklch */ color: oklch(46.9% 0.194 314.7);
Tailwind
colors: {
  custom: {
    50: '#aa6bbf',
    500: '#8127a3',
    950: '#000000',
  },
}
SCSS
$custom: #8127a3;
$custom-light: #aa6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8127a3",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 283.548,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.19371,
    "h": 314.7
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#8127A3
secondary
#7EC164
accent
#E44370
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8127A3

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

Preview Lab → · Contrast checker → · Palette generator →

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