#8321BB#8321BB

#8321BB is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.222 H 308.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8321BB
RGBrgb(131, 33, 187)
HSLhsl(278, 70%, 43%)
HSVhsv(278, 82%, 73%)
CMYKcmyk(29.9%, 82.4%, 0%, 26.7%)
CIE-LABlab(36.93, 63.54, -60.79)
CIE-LCHlch(36.93, 87.93, 316.27°)
OKLaboklab(48.54% 0.1387 -0.1728)
OKLCHoklch(48.54% 0.222 308.7)
XYZxyz(18.8717, 9.5012, 47.8438)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8321BB #59BB21
analogous
#3621BB #8321BB #BB21A6
triadic
#8321BB #BB8321 #21BB83
tetradic
#8321BB #BB3621 #59BB21 #21A6BB
square
#8321BB #BB3621 #59BB21 #21A6BB
split-complementary
#8321BB #A6BB21 #21BB36
monochromatic
#3A0F53 #5F1887 #8321BB #A23DDD #BB71E6

Accessibility & contrast

On white

7.24
#8321BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8321BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8321BB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8321BB#FFFFFF#000000##FFFFFF
##8321BB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#7A4B70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8321bb;
/* rgb */ color: rgb(131, 33, 187);
/* oklch */ color: oklch(48.5% 0.222 308.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ad0',
    500: '#8321bb',
    950: '#000000',
  },
}
SCSS
$custom: #8321bb;
$custom-light: #ad6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8321bb",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 187
  },
  "hsl": {
    "h": 278.182,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.22157,
    "h": 308.7
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#8321BB
secondary
#8FCC6B
accent
#ED3B7C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8321BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8321BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva