#8326DD#8326DD

#8326DD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.7% C 0.248 H 300.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8326DD
RGBrgb(131, 38, 221)
HSLhsl(270, 73%, 51%)
HSVhsv(270, 83%, 87%)
CMYKcmyk(40.7%, 82.8%, 0%, 13.3%)
CIE-LABlab(40.30, 69.37, -75.04)
CIE-LCHlch(40.30, 102.19, 312.75°)
OKLaboklab(51.74% 0.1251 -0.2147)
OKLCHoklch(51.74% 0.248 300.2)
XYZxyz(23.1010, 11.4317, 69.3821)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8326DD #80DD26
analogous
#2726DD #8326DD #DD26DB
triadic
#8326DD #DD8326 #26DD83
tetradic
#8326DD #DD2726 #80DD26 #26DBDD
square
#8326DD #DD2726 #80DD26 #26DBDD
split-complementary
#8326DD #DBDD26 #26DD27
monochromatic
#451376 #641BAB #8326DD #A15BE5 #BF90EE

Accessibility & contrast

On white

6.39
#8326DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8326DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8326DD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8326DD#FFFFFF#000000##FFFFFF
##8326DD1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#6D5C85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8326dd;
/* rgb */ color: rgb(131, 38, 221);
/* oklch */ color: oklch(51.7% 0.248 300.2);
Tailwind
colors: {
  custom: {
    50: '#af6ee9',
    500: '#8326dd',
    950: '#000000',
  },
}
SCSS
$custom: #8326dd;
$custom-light: #af6ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8326dd",
  "rgb": {
    "r": 131,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 270.492,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.24848,
    "h": 300.2
  },
  "luminance": 0.11432
}

Semantic roles & 50–950 ramp

primary
#8326DD
secondary
#AFD887
accent
#F03892
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8326DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8326DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva