#8231A9#8231A9

#8231A9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.188 H 312.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8231A9
RGBrgb(130, 49, 169)
HSLhsl(281, 55%, 43%)
HSVhsv(281, 71%, 66%)
CMYKcmyk(23.1%, 71%, 0%, 33.7%)
CIE-LABlab(37.49, 53.67, -49.20)
CIE-LCHlch(37.49, 72.81, 317.49°)
OKLaboklab(48.49% 0.1269 -0.1389)
OKLCHoklch(48.49% 0.188 312.4)
XYZxyz(17.4644, 9.8075, 38.5015)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231A9 #58A931
analogous
#4631A9 #8231A9 #A93194
triadic
#8231A9 #A98231 #31A982
tetradic
#8231A9 #A94631 #58A931 #3194A9
square
#8231A9 #A94631 #58A931 #3194A9
split-complementary
#8231A9 #94A931 #31A946
monochromatic
#39154A #5E237A #8231A9 #A24CCB #BB7CD9

Accessibility & contrast

On white

7.09
#8231A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8231A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8231A9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8231A9#FFFFFF#000000##FFFFFF
##8231A91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#245AA6
Tritanopia (blue-blind)
#7E4B6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8231a9;
/* rgb */ color: rgb(130, 49, 169);
/* oklch */ color: oklch(48.5% 0.188 312.4);
Tailwind
colors: {
  custom: {
    50: '#aa70c3',
    500: '#8231a9',
    950: '#000000',
  },
}
SCSS
$custom: #8231a9;
$custom-light: #aa70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8231a9",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 280.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.18812,
    "h": 312.4
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#8231A9
secondary
#8DC174
accent
#DE497A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8231A9

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

Preview Lab → · Contrast checker → · Palette generator →

#8231A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva