#8334A4#8334A4

#8334A4 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.180 H 314.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8334A4
RGBrgb(131, 52, 164)
HSLhsl(282, 52%, 42%)
HSVhsv(282, 68%, 64%)
CMYKcmyk(20.1%, 68.3%, 0%, 35.7%)
CIE-LABlab(37.77, 51.51, -45.74)
CIE-LCHlch(37.77, 68.89, 318.39°)
OKLaboklab(48.61% 0.1253 -0.1288)
OKLCHoklch(48.61% 0.18 314.2)
XYZxyz(17.2878, 9.9622, 36.1270)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334A4 #55A434
analogous
#4B34A4 #8334A4 #A4348D
triadic
#8334A4 #A48334 #34A483
tetradic
#8334A4 #A44B34 #55A434 #348DA4
square
#8334A4 #A44B34 #55A434 #348DA4
split-complementary
#8334A4 #8DA434 #34A44B
monochromatic
#391747 #5E2576 #8334A4 #A34EC7 #BB7DD6

Accessibility & contrast

On white

7.02
#8334A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8334A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8334A4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334A4#FFFFFF#000000##FFFFFF
##8334A41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#2F5BA1
Tritanopia (blue-blind)
#804A68
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8334a4;
/* rgb */ color: rgb(131, 52, 164);
/* oklch */ color: oklch(48.6% 0.180 314.2);
Tailwind
colors: {
  custom: {
    50: '#aa72c0',
    500: '#8334a4',
    950: '#000000',
  },
}
SCSS
$custom: #8334a4;
$custom-light: #aa72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8334a4",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 282.321,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.17969,
    "h": 314.2
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#8334A4
secondary
#8BBF75
accent
#DB4C77
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8334A4

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

Preview Lab → · Contrast checker → · Palette generator →

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