#8334D1#8334D1

#8334D1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.225 H 301.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8334D1
RGBrgb(131, 52, 209)
HSLhsl(270, 63%, 51%)
HSVhsv(270, 75%, 82%)
CMYKcmyk(37.3%, 75.1%, 0%, 18%)
CIE-LABlab(41.03, 61.60, -66.94)
CIE-LCHlch(41.03, 90.97, 312.62°)
OKLaboklab(51.95% 0.1182 -0.191)
OKLCHoklch(51.95% 0.225 301.8)
XYZxyz(22.0939, 11.8846, 61.4392)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334D1 #82D134
analogous
#3434D1 #8334D1 #D134D0
triadic
#8334D1 #D18334 #34D183
tetradic
#8334D1 #D13434 #82D134 #34D0D1
square
#8334D1 #D13434 #82D134 #34D0D1
split-complementary
#8334D1 #D0D134 #34D134
monochromatic
#461A71 #6425A3 #8334D1 #A166DC #C098E8

Accessibility & contrast

On white

6.22
#8334D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8334D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334D1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334D1#FFFFFF#000000##FFFFFF
##8334D11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8334d1;
/* rgb */ color: rgb(131, 52, 209);
/* oklch */ color: oklch(51.9% 0.225 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae74e0',
    500: '#8334d1',
    950: '#000000',
  },
}
SCSS
$custom: #8334d1;
$custom-light: #ae74e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8334d1",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 270.191,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.22465,
    "h": 301.8
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#8334D1
secondary
#B0D38E
accent
#E64293
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8334D1

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

Preview Lab → · Contrast checker → · Palette generator →

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