#8334BB#8334BB

#8334BB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.203 H 307.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8334BB
RGBrgb(131, 52, 187)
HSLhsl(275, 56%, 47%)
HSVhsv(275, 72%, 73%)
CMYKcmyk(29.9%, 72.2%, 0%, 26.7%)
CIE-LABlab(39.36, 56.56, -56.84)
CIE-LCHlch(39.36, 80.19, 314.86°)
OKLaboklab(50.24% 0.1226 -0.1614)
OKLCHoklch(50.24% 0.203 307.2)
XYZxyz(19.5558, 10.8694, 48.0719)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334BB #6CBB34
analogous
#4034BB #8334BB #BB34B0
triadic
#8334BB #BB8334 #34BB83
tetradic
#8334BB #BB4034 #6CBB34 #34B0BB
square
#8334BB #BB4034 #6CBB34 #34B0BB
split-complementary
#8334BB #B0BB34 #34BB40
monochromatic
#40195B #61278B #8334BB #A05BD1 #BC8BDF

Accessibility & contrast

On white

6.62
#8334BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8334BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334BB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334BB#FFFFFF#000000##FFFFFF
##8334BB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#7A5374
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8334bb;
/* rgb */ color: rgb(131, 52, 187);
/* oklch */ color: oklch(50.2% 0.203 307.2);
Tailwind
colors: {
  custom: {
    50: '#ac73d0',
    500: '#8334bb',
    950: '#000000',
  },
}
SCSS
$custom: #8334bb;
$custom-light: #ac73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8334bb",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 275.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50242,
    "c": 0.20265,
    "h": 307.2
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#8334BB
secondary
#9FC982
accent
#E04887
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8334BB

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

Preview Lab → · Contrast checker → · Palette generator →

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