#8334A5#8334A5

#8334A5 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.181 H 313.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8334A5
RGBrgb(131, 52, 165)
HSLhsl(282, 52%, 43%)
HSVhsv(282, 68%, 65%)
CMYKcmyk(20.6%, 68.5%, 0%, 35.3%)
CIE-LABlab(37.84, 51.72, -46.24)
CIE-LCHlch(37.84, 69.38, 318.20°)
OKLaboklab(48.68% 0.1253 -0.1302)
OKLCHoklch(48.68% 0.181 313.9)
XYZxyz(17.3784, 9.9984, 36.6045)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334A5 #56A534
analogous
#4A34A5 #8334A5 #A5348E
triadic
#8334A5 #A58334 #34A583
tetradic
#8334A5 #A54A34 #56A534 #348EA5
square
#8334A5 #A54A34 #56A534 #348EA5
split-complementary
#8334A5 #8EA534 #34A54A
monochromatic
#391748 #5E2576 #8334A5 #A34FC7 #BB7DD6

Accessibility & contrast

On white

7.00
#8334A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8334A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334A5
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334A5#FFFFFF#000000##FFFFFF
##8334A51.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#804B68
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8334a5;
/* rgb */ color: rgb(131, 52, 165);
/* oklch */ color: oklch(48.7% 0.181 313.9);
Tailwind
colors: {
  custom: {
    50: '#ab72c0',
    500: '#8334a5',
    950: '#000000',
  },
}
SCSS
$custom: #8334a5;
$custom-light: #ab72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8334a5",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 281.947,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.18069,
    "h": 313.9
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#8334A5
secondary
#8CBF76
accent
#DC4C77
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8334A5

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

Preview Lab → · Contrast checker → · Palette generator →

#8334A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva