#8231AD#8231AD

#8231AD is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.192 H 311.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8231AD
RGBrgb(130, 49, 173)
HSLhsl(279, 56%, 44%)
HSVhsv(279, 72%, 68%)
CMYKcmyk(24.9%, 71.7%, 0%, 32.2%)
CIE-LABlab(37.77, 54.54, -51.14)
CIE-LCHlch(37.77, 74.76, 316.84°)
OKLaboklab(48.77% 0.1264 -0.1446)
OKLCHoklch(48.77% 0.192 311.1)
XYZxyz(17.8456, 9.9600, 40.5095)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8231AD #5CAD31
analogous
#4431AD #8231AD #AD319A
triadic
#8231AD #AD8231 #31AD82
tetradic
#8231AD #AD4431 #5CAD31 #319AAD
square
#8231AD #AD4431 #5CAD31 #319AAD
split-complementary
#8231AD #9AAD31 #31AD44
monochromatic
#3A164E #5E237D #8231AD #A14ECD #BA7EDA

Accessibility & contrast

On white

7.02
#8231AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8231AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8231AD#FFFFFF#000000##FFFFFF
##8231AD1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#7C4C6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8231ad;
/* rgb */ color: rgb(130, 49, 173);
/* oklch */ color: oklch(48.8% 0.192 311.1);
Tailwind
colors: {
  custom: {
    50: '#aa70c6',
    500: '#8231ad',
    950: '#000000',
  },
}
SCSS
$custom: #8231ad;
$custom-light: #aa70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8231ad",
  "rgb": {
    "r": 130,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 279.194,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48769,
    "c": 0.19205,
    "h": 311.1
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#8231AD
secondary
#91C377
accent
#DF497D
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8231AD

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

Preview Lab → · Contrast checker → · Palette generator →

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