#8339AA#8339AA

#8339AA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.179 H 311.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8339AA
RGBrgb(131, 57, 170)
HSLhsl(279, 50%, 45%)
HSVhsv(279, 66%, 67%)
CMYKcmyk(22.9%, 66.5%, 0%, 33.3%)
CIE-LABlab(38.99, 50.51, -47.38)
CIE-LCHlch(38.99, 69.25, 316.83°)
OKLaboklab(49.61% 0.1192 -0.1336)
OKLCHoklch(49.61% 0.179 311.7)
XYZxyz(18.0776, 10.6543, 39.1266)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339AA #60AA39
analogous
#4B39AA #8339AA #AA3999
triadic
#8339AA #AA8339 #39AA83
tetradic
#8339AA #AA4B39 #60AA39 #3999AA
square
#8339AA #AA4B39 #60AA39 #3999AA
split-complementary
#8339AA #99AA39 #39AA4B
monochromatic
#3C1A4E #602A7C #8339AA #A159C7 #BB87D7

Accessibility & contrast

On white

6.71
#8339AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8339AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8339AA#FFFFFF#000000##FFFFFF
##8339AA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#2E5DA7
Tritanopia (blue-blind)
#7E506D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8339aa;
/* rgb */ color: rgb(131, 57, 170);
/* oklch */ color: oklch(49.6% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#ab75c4',
    500: '#8339aa',
    950: '#000000',
  },
}
SCSS
$custom: #8339aa;
$custom-light: #ab75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8339aa",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 279.292,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.17902,
    "h": 311.7
  },
  "luminance": 0.10654
}

Semantic roles & 50–950 ramp

primary
#8339AA
secondary
#95C17E
accent
#D94E7E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8339AA

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

Preview Lab → · Contrast checker → · Palette generator →

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