#8335AE#8335AE

#8335AE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.188 H 310.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8335AE
RGBrgb(131, 53, 174)
HSLhsl(279, 53%, 45%)
HSVhsv(279, 70%, 68%)
CMYKcmyk(24.7%, 69.5%, 0%, 31.8%)
CIE-LABlab(38.60, 53.23, -50.39)
CIE-LCHlch(38.60, 73.29, 316.57°)
OKLaboklab(49.41% 0.1233 -0.1424)
OKLCHoklch(49.41% 0.188 310.9)
XYZxyz(18.2717, 10.4279, 41.0865)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335AE #60AE35
analogous
#4735AE #8335AE #AE359D
triadic
#8335AE #AE8335 #35AE83
tetradic
#8335AE #AE4735 #60AE35 #359DAE
square
#8335AE #AE4735 #60AE35 #359DAE
split-complementary
#8335AE #9DAE35 #35AE47
monochromatic
#3C1850 #60277F #8335AE #A155CB #BB84DA

Accessibility & contrast

On white

6.81
#8335AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8335AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8335AE#FFFFFF#000000##FFFFFF
##8335AE1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#7D4F6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8335ae;
/* rgb */ color: rgb(131, 53, 174);
/* oklch */ color: oklch(49.4% 0.188 310.9);
Tailwind
colors: {
  custom: {
    50: '#ab73c7',
    500: '#8335ae',
    950: '#000000',
  },
}
SCSS
$custom: #8335ae;
$custom-light: #ab73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8335ae",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 278.678,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.18838,
    "h": 310.9
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#8335AE
secondary
#95C37C
accent
#DD4B7F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8335AE

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

Preview Lab → · Contrast checker → · Palette generator →

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