#8123A7#8123A7

#8123A7 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 46.9% C 0.201 H 313.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8123A7
RGBrgb(129, 35, 167)
HSLhsl(283, 65%, 40%)
HSVhsv(283, 79%, 65%)
CMYKcmyk(22.8%, 79%, 0%, 34.5%)
CIE-LABlab(35.32, 58.43, -51.52)
CIE-LCHlch(35.32, 77.90, 318.60°)
OKLaboklab(46.87% 0.1391 -0.1457)
OKLCHoklch(46.87% 0.201 313.7)
XYZxyz(16.6281, 8.6598, 37.3473)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123A7 #49A723
analogous
#3F23A7 #8123A7 #A7238B
triadic
#8123A7 #A78123 #23A781
tetradic
#8123A7 #A73F23 #49A723 #238BA7
square
#8123A7 #A73F23 #49A723 #238BA7
split-complementary
#8123A7 #8BA723 #23A73F
monochromatic
#330E42 #5A1874 #8123A7 #A633D4 #BC66DF

Accessibility & contrast

On white

7.69
#8123A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8123A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8123A7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123A7#FFFFFF#000000##FFFFFF
##8123A71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1455A4
Tritanopia (blue-blind)
#7D4365
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8123a7;
/* rgb */ color: rgb(129, 35, 167);
/* oklch */ color: oklch(46.9% 0.201 313.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ac2',
    500: '#8123a7',
    950: '#000000',
  },
}
SCSS
$custom: #8123a7;
$custom-light: #aa6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8123a7",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 282.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46871,
    "c": 0.20141,
    "h": 313.7
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#8123A7
secondary
#7EC461
accent
#E83F70
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8123A7

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

Preview Lab → · Contrast checker → · Palette generator →

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