#8334AB#8334AB

#8334AB is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.187 H 311.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8334AB
RGBrgb(131, 52, 171)
HSLhsl(280, 53%, 44%)
HSVhsv(280, 70%, 67%)
CMYKcmyk(23.4%, 69.6%, 0%, 32.9%)
CIE-LABlab(38.24, 53.01, -49.18)
CIE-LCHlch(38.24, 72.32, 317.15°)
OKLaboklab(49.09% 0.1247 -0.1389)
OKLCHoklch(49.09% 0.187 311.9)
XYZxyz(17.9374, 10.2220, 39.5483)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334AB #5CAB34
analogous
#4734AB #8334AB #AB3497
triadic
#8334AB #AB8334 #34AB83
tetradic
#8334AB #AB4734 #5CAB34 #3497AB
square
#8334AB #AB4734 #5CAB34 #3497AB
split-complementary
#8334AB #97AB34 #34AB47
monochromatic
#3B174D #5F267C #8334AB #A252CA #BB81D9

Accessibility & contrast

On white

6.90
#8334AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8334AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334AB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334AB#FFFFFF#000000##FFFFFF
##8334AB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#7E4D6C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8334ab;
/* rgb */ color: rgb(131, 52, 171);
/* oklch */ color: oklch(49.1% 0.187 311.9);
Tailwind
colors: {
  custom: {
    50: '#ab72c5',
    500: '#8334ab',
    950: '#000000',
  },
}
SCSS
$custom: #8334ab;
$custom-light: #ab72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8334ab",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 279.832,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.18665,
    "h": 311.9
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#8334AB
secondary
#91C279
accent
#DD4B7C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8334AB

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

Preview Lab → · Contrast checker → · Palette generator →

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