#8334C2#8334C2

#8334C2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.210 H 305.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8334C2
RGBrgb(131, 52, 194)
HSLhsl(273, 58%, 48%)
HSVhsv(273, 73%, 76%)
CMYKcmyk(32.5%, 73.2%, 0%, 23.9%)
CIE-LABlab(39.88, 58.14, -60.11)
CIE-LCHlch(39.88, 83.63, 314.05°)
OKLaboklab(50.77% 0.1214 -0.171)
OKLCHoklch(50.77% 0.21 305.4)
XYZxyz(20.3235, 11.1765, 52.1151)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334C2 #73C234
analogous
#3C34C2 #8334C2 #C234BA
triadic
#8334C2 #C28334 #34C283
tetradic
#8334C2 #C23C34 #73C234 #34BAC2
square
#8334C2 #C23C34 #73C234 #34BAC2
split-complementary
#8334C2 #BAC234 #34C23C
monochromatic
#421A61 #622792 #8334C2 #A05FD4 #BD8FE1

Accessibility & contrast

On white

6.49
#8334C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8334C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334C2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334C2#FFFFFF#000000##FFFFFF
##8334C21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#775678
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8334c2;
/* rgb */ color: rgb(131, 52, 194);
/* oklch */ color: oklch(50.8% 0.210 305.4);
Tailwind
colors: {
  custom: {
    50: '#ac73d5',
    500: '#8334c2',
    950: '#000000',
  },
}
SCSS
$custom: #8334c2;
$custom-light: #ac73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8334c2",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 273.38,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.20966,
    "h": 305.4
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#8334C2
secondary
#A5CC86
accent
#E1478B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8334C2

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

Preview Lab → · Contrast checker → · Palette generator →

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