#8318A0#8318A0

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

Color values

HEX#8318A0
RGBrgb(131, 24, 160)
HSLhsl(287, 74%, 36%)
HSVhsv(287, 85%, 63%)
CMYKcmyk(18.1%, 85%, 0%, 37.3%)
CIE-LABlab(34.02, 60.66, -49.39)
CIE-LCHlch(34.02, 78.22, 320.85°)
OKLaboklab(45.86% 0.1512 -0.1393)
OKLCHoklch(45.86% 0.206 317.3)
XYZxyz(16.0309, 8.0174, 33.9540)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8318A0 #35A018
analogous
#3F18A0 #8318A0 #A01879
triadic
#8318A0 #A08318 #18A083
tetradic
#8318A0 #A03F18 #35A018 #1879A0
square
#8318A0 #A03F18 #35A018 #1879A0
split-complementary
#8318A0 #79A018 #18A03F
monochromatic
#2C0836 #57106B #8318A0 #AF20D5 #C44EE4

Accessibility & contrast

On white

8.07
#8318A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8318A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8318A0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8318A0#FFFFFF#000000##FFFFFF
##8318A01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#823A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8318a0;
/* rgb */ color: rgb(131, 24, 160);
/* oklch */ color: oklch(45.9% 0.206 317.3);
Tailwind
colors: {
  custom: {
    50: '#ac66bd',
    500: '#8318a0',
    950: '#000000',
  },
}
SCSS
$custom: #8318a0;
$custom-light: #ac66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8318a0",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 287.206,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.20554,
    "h": 317.3
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#8318A0
secondary
#67C64D
accent
#F1375F
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8318A0

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

Preview Lab → · Contrast checker → · Palette generator →

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