#8339AB#8339AB

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

Color values

HEX#8339AB
RGBrgb(131, 57, 171)
HSLhsl(279, 50%, 45%)
HSVhsv(279, 67%, 67%)
CMYKcmyk(23.4%, 66.7%, 0%, 32.9%)
CIE-LABlab(39.06, 50.73, -47.87)
CIE-LCHlch(39.06, 69.75, 316.66°)
OKLaboklab(49.68% 0.1191 -0.135)
OKLCHoklch(49.68% 0.18 311.4)
XYZxyz(18.1725, 10.6923, 39.6267)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339AB #61AB39
analogous
#4A39AB #8339AB #AB399A
triadic
#8339AB #AB8339 #39AB83
tetradic
#8339AB #AB4A39 #61AB39 #399AAB
square
#8339AB #AB4A39 #61AB39 #399AAB
split-complementary
#8339AB #9AAB39 #39AB4A
monochromatic
#3D1A4F #602A7D #8339AB #A159C8 #BB87D7

Accessibility & contrast

On white

6.69
#8339AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8339AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8339AB#FFFFFF#000000##FFFFFF
##8339AB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8339ab;
/* rgb */ color: rgb(131, 57, 171);
/* oklch */ color: oklch(49.7% 0.180 311.4);
Tailwind
colors: {
  custom: {
    50: '#ab75c5',
    500: '#8339ab',
    950: '#000000',
  },
}
SCSS
$custom: #8339ab;
$custom-light: #ab75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8339ab",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 278.947,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.18005,
    "h": 311.4
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#8339AB
secondary
#96C17F
accent
#DA4E7F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8339AB

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

Preview Lab → · Contrast checker → · Palette generator →

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