#8339AC#8339AC

#8339AC is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.181 H 311.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8339AC
RGBrgb(131, 57, 172)
HSLhsl(279, 50%, 45%)
HSVhsv(279, 67%, 67%)
CMYKcmyk(23.8%, 66.9%, 0%, 32.5%)
CIE-LABlab(39.12, 50.95, -48.36)
CIE-LCHlch(39.12, 70.25, 316.50°)
OKLaboklab(49.74% 0.119 -0.1365)
OKLCHoklch(49.74% 0.181 311.1)
XYZxyz(18.2682, 10.7305, 40.1306)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339AC #62AC39
analogous
#4A39AC #8339AC #AC399B
triadic
#8339AC #AC8339 #39AC83
tetradic
#8339AC #AC4A39 #62AC39 #399BAC
square
#8339AC #AC4A39 #62AC39 #399BAC
split-complementary
#8339AC #9BAC39 #39AC4A
monochromatic
#3D1B50 #602A7E #8339AC #A15AC8 #BB88D8

Accessibility & contrast

On white

6.68
#8339AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8339AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8339AC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8339AC#FFFFFF#000000##FFFFFF
##8339AC1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#7E506E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8339ac;
/* rgb */ color: rgb(131, 57, 172);
/* oklch */ color: oklch(49.7% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#ab75c5',
    500: '#8339ac',
    950: '#000000',
  },
}
SCSS
$custom: #8339ac;
$custom-light: #ab75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8339ac",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 278.609,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.18109,
    "h": 311.1
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#8339AC
secondary
#97C27F
accent
#DA4E80
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8339AC

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

Preview Lab → · Contrast checker → · Palette generator →

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