#8334BC#8334BC

#8334BC is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.204 H 307.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8334BC
RGBrgb(131, 52, 188)
HSLhsl(275, 57%, 47%)
HSVhsv(275, 72%, 74%)
CMYKcmyk(30.3%, 72.3%, 0%, 26.3%)
CIE-LABlab(39.43, 56.78, -57.31)
CIE-LCHlch(39.43, 80.68, 314.73°)
OKLaboklab(50.32% 0.1224 -0.1627)
OKLCHoklch(50.32% 0.204 307)
XYZxyz(19.6632, 10.9124, 48.6376)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334BC #6DBC34
analogous
#3F34BC #8334BC #BC34B1
triadic
#8334BC #BC8334 #34BC83
tetradic
#8334BC #BC3F34 #6DBC34 #34B1BC
square
#8334BC #BC3F34 #6DBC34 #34B1BC
split-complementary
#8334BC #B1BC34 #34BC3F
monochromatic
#40195C #62278C #8334BC #A05BD2 #BC8BDF

Accessibility & contrast

On white

6.60
#8334BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8334BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334BC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334BC#FFFFFF#000000##FFFFFF
##8334BC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#795475
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8334bc;
/* rgb */ color: rgb(131, 52, 188);
/* oklch */ color: oklch(50.3% 0.204 307.0);
Tailwind
colors: {
  custom: {
    50: '#ac73d1',
    500: '#8334bc',
    950: '#000000',
  },
}
SCSS
$custom: #8334bc;
$custom-light: #ac73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8334bc",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 274.853,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.20366,
    "h": 307
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#8334BC
secondary
#A0C983
accent
#E04888
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8334BC

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

Preview Lab → · Contrast checker → · Palette generator →

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