#8316B3#8316B3

#8316B3 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.2% C 0.223 H 311.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8316B3
RGBrgb(131, 22, 179)
HSLhsl(282, 78%, 39%)
HSVhsv(282, 88%, 70%)
CMYKcmyk(26.8%, 87.7%, 0%, 29.8%)
CIE-LABlab(35.31, 64.80, -58.69)
CIE-LCHlch(35.31, 87.43, 317.83°)
OKLaboklab(47.21% 0.1476 -0.1666)
OKLCHoklch(47.21% 0.223 311.5)
XYZxyz(17.7821, 8.6543, 43.3728)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8316B3 #46B316
analogous
#3516B3 #8316B3 #B31695
triadic
#8316B3 #B38316 #16B383
tetradic
#8316B3 #B33516 #46B316 #1695B3
square
#8316B3 #B33516 #46B316 #1695B3
split-complementary
#8316B3 #95B316 #16B335
monochromatic
#330946 #5B0F7C #8316B3 #A922E4 #BE59EB

Accessibility & contrast

On white

7.69
#8316B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8316B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8316B3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8316B3#FFFFFF#000000##FFFFFF
##8316B31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#7D436A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8316b3;
/* rgb */ color: rgb(131, 22, 179);
/* oklch */ color: oklch(47.2% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#ad66cb',
    500: '#8316b3',
    950: '#000000',
  },
}
SCSS
$custom: #8316b3;
$custom-light: #ad66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8316b3",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 179
  },
  "hsl": {
    "h": 281.656,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47213,
    "c": 0.22259,
    "h": 311.5
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#8316B3
secondary
#7BCE57
accent
#F5336E
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8316B3

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

Preview Lab → · Contrast checker → · Palette generator →

#8316B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva