#8335AD#8335AD

#8335AD is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.3% C 0.187 H 311.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8335AD
RGBrgb(131, 53, 173)
HSLhsl(279, 53%, 44%)
HSVhsv(279, 69%, 68%)
CMYKcmyk(24.3%, 69.4%, 0%, 32.2%)
CIE-LABlab(38.53, 53.01, -49.90)
CIE-LCHlch(38.53, 72.80, 316.73°)
OKLaboklab(49.34% 0.1234 -0.141)
OKLCHoklch(49.34% 0.187 311.2)
XYZxyz(18.1746, 10.3891, 40.5749)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335AD #5FAD35
analogous
#4735AD #8335AD #AD359B
triadic
#8335AD #AD8335 #35AD83
tetradic
#8335AD #AD4735 #5FAD35 #359BAD
square
#8335AD #AD4735 #5FAD35 #359BAD
split-complementary
#8335AD #9BAD35 #35AD47
monochromatic
#3C184F #60277E #8335AD #A154CB #BB83D9

Accessibility & contrast

On white

6.82
#8335AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8335AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8335AD#FFFFFF#000000##FFFFFF
##8335AD1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#255CAA
Tritanopia (blue-blind)
#7E4E6D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8335ad;
/* rgb */ color: rgb(131, 53, 173);
/* oklch */ color: oklch(49.3% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#ab73c6',
    500: '#8335ad',
    950: '#000000',
  },
}
SCSS
$custom: #8335ad;
$custom-light: #ab73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8335ad",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 279,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.18738,
    "h": 311.2
  },
  "luminance": 0.10389
}

Semantic roles & 50–950 ramp

primary
#8335AD
secondary
#94C37B
accent
#DD4B7E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8335AD

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

Preview Lab → · Contrast checker → · Palette generator →

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