#8123A4#8123A4

#8123A4 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 314.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8123A4
RGBrgb(129, 35, 164)
HSLhsl(284, 65%, 39%)
HSVhsv(284, 79%, 64%)
CMYKcmyk(21.3%, 78.7%, 0%, 35.7%)
CIE-LABlab(35.10, 57.83, -50.06)
CIE-LCHlch(35.10, 76.49, 319.12°)
OKLaboklab(46.65% 0.1397 -0.1414)
OKLCHoklch(46.65% 0.199 314.6)
XYZxyz(16.3540, 8.5501, 35.9036)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123A4 #46A423
analogous
#4123A4 #8123A4 #A42387
triadic
#8123A4 #A48123 #23A481
tetradic
#8123A4 #A44123 #46A423 #2387A4
square
#8123A4 #A44123 #46A423 #2387A4
split-complementary
#8123A4 #87A423 #23A441
monochromatic
#320D3F #591872 #8123A4 #A731D3 #BD64DE

Accessibility & contrast

On white

7.75
#8123A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8123A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123A4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123A4#FFFFFF#000000##FFFFFF
##8123A41.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#1A55A1
Tritanopia (blue-blind)
#7E4163
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8123a4;
/* rgb */ color: rgb(129, 35, 164);
/* oklch */ color: oklch(46.6% 0.199 314.6);
Tailwind
colors: {
  custom: {
    50: '#aa69c0',
    500: '#8123a4',
    950: '#000000',
  },
}
SCSS
$custom: #8123a4;
$custom-light: #aa69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8123a4",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 283.721,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.19874,
    "h": 314.6
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#8123A4
secondary
#7BC360
accent
#E8406E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8123A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8123A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva