#8231A8#8231A8

#8231A8 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.187 H 312.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8231A8
RGBrgb(130, 49, 168)
HSLhsl(281, 55%, 43%)
HSVhsv(281, 71%, 66%)
CMYKcmyk(22.6%, 70.8%, 0%, 34.1%)
CIE-LABlab(37.43, 53.46, -48.71)
CIE-LCHlch(37.43, 72.32, 317.66°)
OKLaboklab(48.42% 0.127 -0.1375)
OKLCHoklch(48.42% 0.187 312.7)
XYZxyz(17.3709, 9.7701, 38.0090)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231A8 #57A831
analogous
#4631A8 #8231A8 #A83193
triadic
#8231A8 #A88231 #31A882
tetradic
#8231A8 #A84631 #57A831 #3193A8
square
#8231A8 #A84631 #57A831 #3193A8
split-complementary
#8231A8 #93A831 #31A846
monochromatic
#391549 #5D2379 #8231A8 #A24CCB #BB7BD8

Accessibility & contrast

On white

7.11
#8231A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8231A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8231A8#FFFFFF#000000##FFFFFF
##8231A81.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#7E4A69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8231a8;
/* rgb */ color: rgb(130, 49, 168);
/* oklch */ color: oklch(48.4% 0.187 312.7);
Tailwind
colors: {
  custom: {
    50: '#aa70c2',
    500: '#8231a8',
    950: '#000000',
  },
}
SCSS
$custom: #8231a8;
$custom-light: #aa70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8231a8",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 280.84,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.18713,
    "h": 312.7
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#8231A8
secondary
#8CC174
accent
#DE4A79
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8231A8

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

Preview Lab → · Contrast checker → · Palette generator →

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