#8339BA#8339BA

#8339BA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.196 H 307.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8339BA
RGBrgb(131, 57, 186)
HSLhsl(274, 53%, 48%)
HSVhsv(274, 69%, 73%)
CMYKcmyk(29.6%, 69.4%, 0%, 27.1%)
CIE-LABlab(40.08, 54.11, -55.10)
CIE-LCHlch(40.08, 77.23, 314.48°)
OKLaboklab(50.73% 0.1176 -0.1562)
OKLCHoklch(50.73% 0.196 307)
XYZxyz(19.6842, 11.2970, 47.5884)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339BA #70BA39
analogous
#4339BA #8339BA #BA39B0
triadic
#8339BA #BA8339 #39BA83
tetradic
#8339BA #BA4339 #70BA39 #39B0BA
square
#8339BA #BA4339 #70BA39 #39B0BA
split-complementary
#8339BA #B0BA39 #39BA43
monochromatic
#411C5C #622B8B #8339BA #A061CF #BC90DD

Accessibility & contrast

On white

6.44
#8339BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8339BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339BA#FFFFFF#000000##FFFFFF
##8339BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#7A5675
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8339ba;
/* rgb */ color: rgb(131, 57, 186);
/* oklch */ color: oklch(50.7% 0.196 307.0);
Tailwind
colors: {
  custom: {
    50: '#ac75cf',
    500: '#8339ba',
    950: '#000000',
  },
}
SCSS
$custom: #8339ba;
$custom-light: #ac75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8339ba",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 274.419,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.19557,
    "h": 307
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8339BA

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

Preview Lab → · Contrast checker → · Palette generator →

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