#8334A2#8334A2

#8334A2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.178 H 314.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8334A2
RGBrgb(131, 52, 162)
HSLhsl(283, 51%, 42%)
HSVhsv(283, 68%, 64%)
CMYKcmyk(19.1%, 67.9%, 0%, 36.5%)
CIE-LABlab(37.65, 51.08, -44.75)
CIE-LCHlch(37.65, 67.91, 318.78°)
OKLaboklab(48.48% 0.1255 -0.1259)
OKLCHoklch(48.48% 0.178 314.9)
XYZxyz(17.1086, 9.8905, 35.1832)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334A2 #53A234
analogous
#4C34A2 #8334A2 #A2348A
triadic
#8334A2 #A28334 #34A283
tetradic
#8334A2 #A24C34 #53A234 #348AA2
square
#8334A2 #A24C34 #53A234 #348AA2
split-complementary
#8334A2 #8AA234 #34A24C
monochromatic
#381645 #5E2574 #8334A2 #A44DC6 #BC7CD5

Accessibility & contrast

On white

7.05
#8334A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8334A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8334A2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334A2#FFFFFF#000000##FFFFFF
##8334A21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#315B9F
Tritanopia (blue-blind)
#814967
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8334a2;
/* rgb */ color: rgb(131, 52, 162);
/* oklch */ color: oklch(48.5% 0.178 314.9);
Tailwind
colors: {
  custom: {
    50: '#aa72be',
    500: '#8334a2',
    950: '#000000',
  },
}
SCSS
$custom: #8334a2;
$custom-light: #aa72be;
$custom-dark: #000000;
JSON
{
  "hex": "#8334a2",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 283.091,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48475,
    "c": 0.17772,
    "h": 314.9
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#8334A2
secondary
#89BE74
accent
#DB4D75
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8334A2

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

Preview Lab → · Contrast checker → · Palette generator →

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