#8335AA#8335AA

#8335AA is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.184 H 312.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8335AA
RGBrgb(131, 53, 170)
HSLhsl(280, 52%, 44%)
HSVhsv(280, 69%, 67%)
CMYKcmyk(22.9%, 68.8%, 0%, 33.3%)
CIE-LABlab(38.33, 52.35, -48.44)
CIE-LCHlch(38.33, 71.32, 317.22°)
OKLaboklab(49.13% 0.1237 -0.1367)
OKLCHoklch(49.13% 0.184 312.2)
XYZxyz(17.8876, 10.2743, 39.0633)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335AA #5CAA35
analogous
#4835AA #8335AA #AA3596
triadic
#8335AA #AA8335 #35AA83
tetradic
#8335AA #AA4835 #5CAA35 #3596AA
square
#8335AA #AA4835 #5CAA35 #3596AA
split-complementary
#8335AA #96AA35 #35AA48
monochromatic
#3B184D #5F267B #8335AA #A253C9 #BB82D8

Accessibility & contrast

On white

6.87
#8335AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8335AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335AA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335AA#FFFFFF#000000##FFFFFF
##8335AA1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#295CA7
Tritanopia (blue-blind)
#7E4D6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8335aa;
/* rgb */ color: rgb(131, 53, 170);
/* oklch */ color: oklch(49.1% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab72c4',
    500: '#8335aa',
    950: '#000000',
  },
}
SCSS
$custom: #8335aa;
$custom-light: #ab72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8335aa",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 280,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.18437,
    "h": 312.2
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#8335AA
secondary
#91C17A
accent
#DC4C7C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8335AA

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

Preview Lab → · Contrast checker → · Palette generator →

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