#8123A3#8123A3

#8123A3 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.198 H 315.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8123A3
RGBrgb(129, 35, 163)
HSLhsl(284, 65%, 39%)
HSVhsv(284, 79%, 64%)
CMYKcmyk(20.9%, 78.5%, 0%, 36.1%)
CIE-LABlab(35.03, 57.62, -49.58)
CIE-LCHlch(35.03, 76.02, 319.29°)
OKLaboklab(46.58% 0.1398 -0.14)
OKLCHoklch(46.58% 0.198 315)
XYZxyz(16.2641, 8.5141, 35.4299)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123A3 #45A323
analogous
#4123A3 #8123A3 #A32385
triadic
#8123A3 #A38123 #23A381
tetradic
#8123A3 #A34123 #45A323 #2385A3
square
#8123A3 #A34123 #45A323 #2385A3
split-complementary
#8123A3 #85A323 #23A341
monochromatic
#310D3E #591871 #8123A3 #A831D3 #BD63DD

Accessibility & contrast

On white

7.77
#8123A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8123A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123A3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123A3#FFFFFF#000000##FFFFFF
##8123A31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1C55A0
Tritanopia (blue-blind)
#7E4163
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8123a3;
/* rgb */ color: rgb(129, 35, 163);
/* oklch */ color: oklch(46.6% 0.198 315.0);
Tailwind
colors: {
  custom: {
    50: '#aa69bf',
    500: '#8123a3',
    950: '#000000',
  },
}
SCSS
$custom: #8123a3;
$custom-light: #aa69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8123a3",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 284.063,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.19785,
    "h": 315
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#8123A3
secondary
#7AC35F
accent
#E8406D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8123A3

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

Preview Lab → · Contrast checker → · Palette generator →

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