#8123A2#8123A2

#8123A2 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.197 H 315.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8123A2
RGBrgb(129, 35, 162)
HSLhsl(284, 64%, 39%)
HSVhsv(284, 78%, 64%)
CMYKcmyk(20.4%, 78.4%, 0%, 36.5%)
CIE-LABlab(34.96, 57.42, -49.09)
CIE-LCHlch(34.96, 75.55, 319.47°)
OKLaboklab(46.5% 0.14 -0.1385)
OKLCHoklch(46.5% 0.197 315.3)
XYZxyz(16.1748, 8.4784, 34.9599)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123A2 #44A223
analogous
#4123A2 #8123A2 #A22383
triadic
#8123A2 #A28123 #23A281
tetradic
#8123A2 #A24123 #44A223 #2383A2
square
#8123A2 #A24123 #44A223 #2383A2
split-complementary
#8123A2 #83A223 #23A241
monochromatic
#310D3D #591870 #8123A2 #A830D2 #BD62DD

Accessibility & contrast

On white

7.79
#8123A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8123A2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123A2#FFFFFF#000000##FFFFFF
##8123A21.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#1E559F
Tritanopia (blue-blind)
#7E4062
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8123a2;
/* rgb */ color: rgb(129, 35, 162);
/* oklch */ color: oklch(46.5% 0.197 315.3);
Tailwind
colors: {
  custom: {
    50: '#aa69be',
    500: '#8123a2',
    950: '#000000',
  },
}
SCSS
$custom: #8123a2;
$custom-light: #aa69be;
$custom-dark: #000000;
JSON
{
  "hex": "#8123a2",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 284.409,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.19695,
    "h": 315.3
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#8123A2
secondary
#78C25E
accent
#E7406C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8123A2

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

Preview Lab → · Contrast checker → · Palette generator →

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