#8334C5#8334C5

#8334C5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.213 H 304.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8334C5
RGBrgb(131, 52, 197)
HSLhsl(273, 58%, 49%)
HSVhsv(273, 74%, 77%)
CMYKcmyk(33.5%, 73.6%, 0%, 22.7%)
CIE-LABlab(40.10, 58.83, -61.49)
CIE-LCHlch(40.10, 85.10, 313.73°)
OKLaboklab(51% 0.1208 -0.175)
OKLCHoklch(51% 0.213 304.6)
XYZxyz(20.6638, 11.3126, 53.9074)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334C5 #76C534
analogous
#3B34C5 #8334C5 #C534BF
triadic
#8334C5 #C58334 #34C583
tetradic
#8334C5 #C53B34 #76C534 #34BFC5
square
#8334C5 #C53B34 #76C534 #34BFC5
split-complementary
#8334C5 #BFC534 #34C53B
monochromatic
#431A64 #632795 #8334C5 #A061D5 #BD91E2

Accessibility & contrast

On white

6.44
#8334C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8334C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334C5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334C5#FFFFFF#000000##FFFFFF
##8334C51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#76587A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8334c5;
/* rgb */ color: rgb(131, 52, 197);
/* oklch */ color: oklch(51.0% 0.213 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad73d7',
    500: '#8334c5',
    950: '#000000',
  },
}
SCSS
$custom: #8334c5;
$custom-light: #ad73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8334c5",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 272.69,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51001,
    "c": 0.21266,
    "h": 304.6
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#8334C5
secondary
#A7CD88
accent
#E1468D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8334C5

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

Preview Lab → · Contrast checker → · Palette generator →

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