#8231AA#8231AA

#8231AA is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 312.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8231AA
RGBrgb(130, 49, 170)
HSLhsl(280, 55%, 43%)
HSVhsv(280, 71%, 67%)
CMYKcmyk(23.5%, 71.2%, 0%, 33.3%)
CIE-LABlab(37.56, 53.89, -49.68)
CIE-LCHlch(37.56, 73.30, 317.33°)
OKLaboklab(48.56% 0.1267 -0.1403)
OKLCHoklch(48.56% 0.189 312.1)
XYZxyz(17.5586, 9.8452, 38.9978)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231AA #59AA31
analogous
#4531AA #8231AA #AA3195
triadic
#8231AA #AA8231 #31AA82
tetradic
#8231AA #AA4531 #59AA31 #3195AA
square
#8231AA #AA4531 #59AA31 #3195AA
split-complementary
#8231AA #95AA31 #31AA45
monochromatic
#39164B #5E237A #8231AA #A24DCC #BA7CD9

Accessibility & contrast

On white

7.07
#8231AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8231AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8231AA#FFFFFF#000000##FFFFFF
##8231AA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#235AA7
Tritanopia (blue-blind)
#7D4B6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8231aa;
/* rgb */ color: rgb(130, 49, 170);
/* oklch */ color: oklch(48.6% 0.189 312.1);
Tailwind
colors: {
  custom: {
    50: '#aa70c4',
    500: '#8231aa',
    950: '#000000',
  },
}
SCSS
$custom: #8231aa;
$custom-light: #aa70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8231aa",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 280.165,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.1891,
    "h": 312.1
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#8231AA
secondary
#8EC275
accent
#DF497B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8231AA

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

Preview Lab → · Contrast checker → · Palette generator →

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