#8339A5#8339A5

#8339A5 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.174 H 313.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8339A5
RGBrgb(131, 57, 165)
HSLhsl(281, 49%, 44%)
HSVhsv(281, 65%, 65%)
CMYKcmyk(20.6%, 65.5%, 0%, 35.3%)
CIE-LABlab(38.67, 49.41, -44.91)
CIE-LCHlch(38.67, 66.77, 317.74°)
OKLaboklab(49.27% 0.1195 -0.1263)
OKLCHoklch(49.27% 0.174 313.4)
XYZxyz(17.6136, 10.4687, 36.6828)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339A5 #5BA539
analogous
#4D39A5 #8339A5 #A53991
triadic
#8339A5 #A58339 #39A583
tetradic
#8339A5 #A54D39 #5BA539 #3991A5
square
#8339A5 #A54D39 #5BA539 #3991A5
split-complementary
#8339A5 #91A539 #39A54D
monochromatic
#3B1A4A #5F2978 #8339A5 #A256C5 #BB84D4

Accessibility & contrast

On white

6.79
#8339A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8339A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8339A5#FFFFFF#000000##FFFFFF
##8339A51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A8
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#804E6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8339a5;
/* rgb */ color: rgb(131, 57, 165);
/* oklch */ color: oklch(49.3% 0.174 313.4);
Tailwind
colors: {
  custom: {
    50: '#aa74c0',
    500: '#8339a5',
    950: '#000000',
  },
}
SCSS
$custom: #8339a5;
$custom-light: #aa74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8339a5",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 281.111,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49274,
    "c": 0.17387,
    "h": 313.4
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#8339A5
secondary
#91BE7B
accent
#D8507B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8339A5

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

Preview Lab → · Contrast checker → · Palette generator →

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