#8321BD#8321BD

#8321BD is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.7% C 0.223 H 308.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8321BD
RGBrgb(131, 33, 189)
HSLhsl(278, 70%, 44%)
HSVhsv(278, 83%, 74%)
CMYKcmyk(30.7%, 82.5%, 0%, 25.9%)
CIE-LABlab(37.09, 63.96, -61.71)
CIE-LCHlch(37.09, 88.87, 316.03°)
OKLaboklab(48.7% 0.1381 -0.1755)
OKLCHoklch(48.7% 0.223 308.2)
XYZxyz(19.0873, 9.5874, 48.9793)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8321BD #5BBD21
analogous
#3521BD #8321BD #BD21A9
triadic
#8321BD #BD8321 #21BD83
tetradic
#8321BD #BD3521 #5BBD21 #21A9BD
square
#8321BD #BD3521 #5BBD21 #21A9BD
split-complementary
#8321BD #A9BD21 #21BD35
monochromatic
#3B0F55 #5F1889 #8321BD #A23EDD #BB72E6

Accessibility & contrast

On white

7.20
#8321BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8321BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8321BD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8321BD#FFFFFF#000000##FFFFFF
##8321BD1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#794C71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8321bd;
/* rgb */ color: rgb(131, 33, 189);
/* oklch */ color: oklch(48.7% 0.223 308.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ad2',
    500: '#8321bd',
    950: '#000000',
  },
}
SCSS
$custom: #8321bd;
$custom-light: #ad6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8321bd",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 277.692,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.22334,
    "h": 308.2
  },
  "luminance": 0.09587
}

Semantic roles & 50–950 ramp

primary
#8321BD
secondary
#91CD6D
accent
#ED3B7D
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8321BD

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

Preview Lab → · Contrast checker → · Palette generator →

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