#8334D2#8334D2

#8334D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.226 H 301.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8334D2
RGBrgb(131, 52, 210)
HSLhsl(270, 64%, 51%)
HSVhsv(270, 75%, 82%)
CMYKcmyk(37.6%, 75.2%, 0%, 17.6%)
CIE-LABlab(41.11, 61.84, -67.39)
CIE-LCHlch(41.11, 91.46, 312.54°)
OKLaboklab(52.03% 0.118 -0.1923)
OKLCHoklch(52.03% 0.226 301.5)
XYZxyz(22.2181, 11.9343, 62.0933)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334D2 #83D234
analogous
#3434D2 #8334D2 #D234D2
triadic
#8334D2 #D28334 #34D283
tetradic
#8334D2 #D23434 #83D234 #34D2D2
square
#8334D2 #D23434 #83D234 #34D2D2
split-complementary
#8334D2 #D2D234 #34D234
monochromatic
#461972 #6424A4 #8334D2 #A266DD #C098E8

Accessibility & contrast

On white

6.20
#8334D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8334D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334D2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334D2#FFFFFF#000000##FFFFFF
##8334D21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#725D81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8334d2;
/* rgb */ color: rgb(131, 52, 210);
/* oklch */ color: oklch(52.0% 0.226 301.5);
Tailwind
colors: {
  custom: {
    50: '#ae74e1',
    500: '#8334d2',
    950: '#000000',
  },
}
SCSS
$custom: #8334d2;
$custom-light: #ae74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8334d2",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 270,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.22564,
    "h": 301.5
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#8334D2
secondary
#B1D48E
accent
#E74194
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8334D2

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

Preview Lab → · Contrast checker → · Palette generator →

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