#8123A5#8123A5

#8123A5 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.200 H 314.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8123A5
RGBrgb(129, 35, 165)
HSLhsl(283, 65%, 39%)
HSVhsv(283, 79%, 65%)
CMYKcmyk(21.8%, 78.8%, 0%, 35.3%)
CIE-LABlab(35.18, 58.03, -50.55)
CIE-LCHlch(35.18, 76.96, 318.94°)
OKLaboklab(46.72% 0.1395 -0.1428)
OKLCHoklch(46.72% 0.2 314.3)
XYZxyz(16.4447, 8.5864, 36.3811)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123A5 #47A523
analogous
#4023A5 #8123A5 #A52388
triadic
#8123A5 #A58123 #23A581
tetradic
#8123A5 #A54023 #47A523 #2388A5
square
#8123A5 #A54023 #47A523 #2388A5
split-complementary
#8123A5 #88A523 #23A540
monochromatic
#320E40 #5A1873 #8123A5 #A732D3 #BC64DE

Accessibility & contrast

On white

7.73
#8123A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8123A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123A5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123A5#FFFFFF#000000##FFFFFF
##8123A51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#7E4264
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8123a5;
/* rgb */ color: rgb(129, 35, 165);
/* oklch */ color: oklch(46.7% 0.200 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa69c0',
    500: '#8123a5',
    950: '#000000',
  },
}
SCSS
$custom: #8123a5;
$custom-light: #aa69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8123a5",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 283.385,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46722,
    "c": 0.19963,
    "h": 314.3
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#8123A5
secondary
#7CC460
accent
#E8406E
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8123A5

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

Preview Lab → · Contrast checker → · Palette generator →

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