#8372BC#8372BC

#8372BC is a mid, moderate violet. Relative luminance 0.205; OKLCH L 59.9% C 0.111 H 293.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8372BC
RGBrgb(131, 114, 188)
HSLhsl(254, 36%, 59%)
HSVhsv(254, 39%, 74%)
CMYKcmyk(30.3%, 39.4%, 0%, 26.3%)
CIE-LABlab(52.39, 23.23, -36.63)
CIE-LCHlch(52.39, 43.38, 302.38°)
OKLaboklab(59.87% 0.0441 -0.1024)
OKLCHoklch(59.87% 0.111 293.3)
XYZxyz(24.4522, 20.4904, 50.2340)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8372BC #ABBC72
analogous
#7286BC #8372BC #A872BC
triadic
#8372BC #BC8372 #72BC83
tetradic
#8372BC #BC7286 #ABBC72 #72BCA8
square
#8372BC #BC7286 #ABBC72 #72BCA8
split-complementary
#8372BC #BCA872 #86BC72
monochromatic
#493A7A #614EA3 #8372BC #A79BD0 #CCC5E3

Accessibility & contrast

On white

4.12
#8372BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8372BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8372BC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8372BC#FFFFFF#000000##000000
##8372BC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#767F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8372bc;
/* rgb */ color: rgb(131, 114, 188);
/* oklch */ color: oklch(59.9% 0.111 293.3);
Tailwind
colors: {
  custom: {
    50: '#a99ad0',
    500: '#8372bc',
    950: '#000000',
  },
}
SCSS
$custom: #8372bc;
$custom-light: #a99ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8372bc",
  "rgb": {
    "r": 131,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 253.784,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59871,
    "c": 0.11149,
    "h": 293.3
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#8372BC
secondary
#CDD3B6
accent
#CC5CB2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8372BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8372BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva