#8316C9#8316C9

#8316C9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 49.0% C 0.241 H 305.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8316C9
RGBrgb(131, 22, 201)
HSLhsl(277, 80%, 44%)
HSVhsv(277, 89%, 79%)
CMYKcmyk(34.8%, 89.1%, 0%, 21.2%)
CIE-LABlab(37.14, 69.25, -68.65)
CIE-LCHlch(37.14, 97.51, 315.25°)
OKLaboklab(49.04% 0.1405 -0.1958)
OKLCHoklch(49.04% 0.241 305.7)
XYZxyz(20.1872, 9.6163, 56.0397)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8316C9 #5CC916
analogous
#2916C9 #8316C9 #C916B5
triadic
#8316C9 #C98316 #16C983
tetradic
#8316C9 #C92916 #5CC916 #16B5C9
square
#8316C9 #C92916 #5CC916 #16B5C9
split-complementary
#8316C9 #B5C916 #16C929
monochromatic
#3B0A5B #5F1092 #8316C9 #A233E9 #BB6BEF

Accessibility & contrast

On white

7.18
#8316C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8316C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8316C9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8316C9#FFFFFF#000000##FFFFFF
##8316C91.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#764E77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8316c9;
/* rgb */ color: rgb(131, 22, 201);
/* oklch */ color: oklch(49.0% 0.241 305.7);
Tailwind
colors: {
  custom: {
    50: '#ae67db',
    500: '#8316c9',
    950: '#000000',
  },
}
SCSS
$custom: #8316c9;
$custom-light: #ae67db;
$custom-dark: #000000;
JSON
{
  "hex": "#8316c9",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 201
  },
  "hsl": {
    "h": 276.536,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.24103,
    "h": 305.7
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#8316C9
secondary
#91D467
accent
#F7317E
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83

Preview Lab

Preview with #8316C9

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

Preview Lab → · Contrast checker → · Palette generator →

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