#8313B4#8313B4

#8313B4 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.1% C 0.225 H 311.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8313B4
RGBrgb(131, 19, 180)
HSLhsl(282, 81%, 39%)
HSVhsv(282, 89%, 71%)
CMYKcmyk(27.2%, 89.4%, 0%, 29.4%)
CIE-LABlab(35.18, 65.64, -59.50)
CIE-LCHlch(35.18, 88.59, 317.80°)
OKLaboklab(47.15% 0.1488 -0.169)
OKLCHoklch(47.15% 0.225 311.4)
XYZxyz(17.8296, 8.5868, 43.8894)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8313B4 #44B413
analogous
#3213B4 #8313B4 #B41395
triadic
#8313B4 #B48313 #13B483
tetradic
#8313B4 #B43213 #44B413 #1395B4
square
#8313B4 #B43213 #44B413 #1395B4
split-complementary
#8313B4 #95B413 #13B432
monochromatic
#320745 #5B0D7D #8313B4 #AA1DE7 #BF54ED

Accessibility & contrast

On white

7.73
#8313B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8313B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8313B4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8313B4#FFFFFF#000000##FFFFFF
##8313B41.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#7C436A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8313b4;
/* rgb */ color: rgb(131, 19, 180);
/* oklch */ color: oklch(47.1% 0.225 311.4);
Tailwind
colors: {
  custom: {
    50: '#ad65cb',
    500: '#8313b4',
    950: '#000000',
  },
}
SCSS
$custom: #8313b4;
$custom-light: #ad65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8313b4",
  "rgb": {
    "r": 131,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 281.739,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47146,
    "c": 0.22516,
    "h": 311.4
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#8313B4
secondary
#79CF53
accent
#F7306D
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8313B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8313B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva