#8318A1#8318A1

#8318A1 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.9% C 0.206 H 317.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8318A1
RGBrgb(131, 24, 161)
HSLhsl(287, 74%, 36%)
HSVhsv(287, 85%, 63%)
CMYKcmyk(18.6%, 85.1%, 0%, 36.9%)
CIE-LABlab(34.09, 60.85, -49.87)
CIE-LCHlch(34.09, 78.67, 320.66°)
OKLaboklab(45.93% 0.151 -0.1407)
OKLCHoklch(45.93% 0.206 317)
XYZxyz(16.1188, 8.0525, 34.4165)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8318A1 #36A118
analogous
#3F18A1 #8318A1 #A1187B
triadic
#8318A1 #A18318 #18A183
tetradic
#8318A1 #A13F18 #36A118 #187BA1
square
#8318A1 #A13F18 #36A118 #187BA1
split-complementary
#8318A1 #7BA118 #18A13F
monochromatic
#2C0836 #58106C #8318A1 #AE20D6 #C44FE5

Accessibility & contrast

On white

8.04
#8318A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8318A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8318A1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8318A1#FFFFFF#000000##FFFFFF
##8318A11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#813B60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8318a1;
/* rgb */ color: rgb(131, 24, 161);
/* oklch */ color: oklch(45.9% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#ac66be',
    500: '#8318a1',
    950: '#000000',
  },
}
SCSS
$custom: #8318a1;
$custom-light: #ac66be;
$custom-dark: #000000;
JSON
{
  "hex": "#8318a1",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 286.861,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.20636,
    "h": 317
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#8318A1
secondary
#68C74E
accent
#F13760
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8318A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8318A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva