#8339BB#8339BB

#8339BB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.197 H 306.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8339BB
RGBrgb(131, 57, 187)
HSLhsl(274, 53%, 48%)
HSVhsv(274, 70%, 73%)
CMYKcmyk(29.9%, 69.5%, 0%, 26.7%)
CIE-LABlab(40.15, 54.34, -55.57)
CIE-LCHlch(40.15, 77.72, 314.36°)
OKLaboklab(50.8% 0.1175 -0.1576)
OKLCHoklch(50.8% 0.197 306.7)
XYZxyz(19.7909, 11.3396, 48.1502)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339BB #71BB39
analogous
#4239BB #8339BB #BB39B2
triadic
#8339BB #BB8339 #39BB83
tetradic
#8339BB #BB4239 #71BB39 #39B2BB
square
#8339BB #BB4239 #71BB39 #39B2BB
split-complementary
#8339BB #B2BB39 #39BB42
monochromatic
#411C5D #622B8C #8339BB #A062CF #BC91DD

Accessibility & contrast

On white

6.43
#8339BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8339BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339BB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339BB#FFFFFF#000000##FFFFFF
##8339BB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#7A5676
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8339bb;
/* rgb */ color: rgb(131, 57, 187);
/* oklch */ color: oklch(50.8% 0.197 306.7);
Tailwind
colors: {
  custom: {
    50: '#ac75d0',
    500: '#8339bb',
    950: '#000000',
  },
}
SCSS
$custom: #8339bb;
$custom-light: #ac75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8339bb",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 274.154,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.19661,
    "h": 306.7
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#8339BB
secondary
#A3C887
accent
#DD4B8A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8339BB

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

Preview Lab → · Contrast checker → · Palette generator →

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