#8334BD#8334BD

#8334BD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.205 H 306.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8334BD
RGBrgb(131, 52, 189)
HSLhsl(275, 57%, 47%)
HSVhsv(275, 72%, 74%)
CMYKcmyk(30.7%, 72.5%, 0%, 25.9%)
CIE-LABlab(39.51, 57.01, -57.78)
CIE-LCHlch(39.51, 81.17, 314.61°)
OKLaboklab(50.39% 0.1223 -0.1641)
OKLCHoklch(50.39% 0.205 306.7)
XYZxyz(19.7714, 10.9556, 49.2073)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8334BD #6EBD34
analogous
#3F34BD #8334BD #BD34B2
triadic
#8334BD #BD8334 #34BD83
tetradic
#8334BD #BD3F34 #6EBD34 #34B2BD
square
#8334BD #BD3F34 #6EBD34 #34B2BD
split-complementary
#8334BD #B2BD34 #34BD3F
monochromatic
#401A5D #62278D #8334BD #A05CD2 #BC8CDF

Accessibility & contrast

On white

6.58
#8334BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8334BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8334BD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8334BD#FFFFFF#000000##FFFFFF
##8334BD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8334bd;
/* rgb */ color: rgb(131, 52, 189);
/* oklch */ color: oklch(50.4% 0.205 306.7);
Tailwind
colors: {
  custom: {
    50: '#ac73d2',
    500: '#8334bd',
    950: '#000000',
  },
}
SCSS
$custom: #8334bd;
$custom-light: #ac73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8334bd",
  "rgb": {
    "r": 131,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 274.599,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.20466,
    "h": 306.7
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#8334BD
secondary
#A1CA83
accent
#E04888
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8334BD

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

Preview Lab → · Contrast checker → · Palette generator →

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