#8339AF#8339AF

#8339AF is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.184 H 310.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8339AF
RGBrgb(131, 57, 175)
HSLhsl(278, 51%, 45%)
HSVhsv(278, 67%, 69%)
CMYKcmyk(25.1%, 67.4%, 0%, 31.4%)
CIE-LABlab(39.32, 51.62, -49.82)
CIE-LCHlch(39.32, 71.74, 316.02°)
OKLaboklab(49.95% 0.1188 -0.1407)
OKLCHoklch(49.95% 0.184 310.2)
XYZxyz(18.5596, 10.8471, 41.6651)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8339AF #65AF39
analogous
#4839AF #8339AF #AF39A0
triadic
#8339AF #AF8339 #39AF83
tetradic
#8339AF #AF4839 #65AF39 #39A0AF
square
#8339AF #AF4839 #65AF39 #39A0AF
split-complementary
#8339AF #A0AF39 #39AF48
monochromatic
#3E1B53 #602A81 #8339AF #A15BCA #BB8AD9

Accessibility & contrast

On white

6.63
#8339AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8339AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8339AF#FFFFFF#000000##FFFFFF
##8339AF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#7D526F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8339af;
/* rgb */ color: rgb(131, 57, 175);
/* oklch */ color: oklch(50.0% 0.184 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab75c8',
    500: '#8339af',
    950: '#000000',
  },
}
SCSS
$custom: #8339af;
$custom-light: #ab75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8339af",
  "rgb": {
    "r": 131,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 277.627,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.18418,
    "h": 310.2
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#8339AF
secondary
#99C381
accent
#DA4D82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8339AF

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

Preview Lab → · Contrast checker → · Palette generator →

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