#8335A4#8335A4

#8335A4 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.178 H 314.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8335A4
RGBrgb(131, 53, 164)
HSLhsl(282, 51%, 43%)
HSVhsv(282, 68%, 64%)
CMYKcmyk(20.1%, 67.7%, 0%, 35.7%)
CIE-LABlab(37.94, 51.06, -45.48)
CIE-LCHlch(37.94, 68.38, 318.30°)
OKLaboklab(48.73% 0.1242 -0.128)
OKLCHoklch(48.73% 0.178 314.1)
XYZxyz(17.3329, 10.0524, 36.1420)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335A4 #56A435
analogous
#4B35A4 #8335A4 #A4358E
triadic
#8335A4 #A48335 #35A483
tetradic
#8335A4 #A44B35 #56A435 #358EA4
square
#8335A4 #A44B35 #56A435 #358EA4
split-complementary
#8335A4 #8EA435 #35A44B
monochromatic
#391747 #5E2676 #8335A4 #A350C6 #BB7ED5

Accessibility & contrast

On white

6.98
#8335A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8335A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8335A4#FFFFFF#000000##FFFFFF
##8335A41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#804B68
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8335a4;
/* rgb */ color: rgb(131, 53, 164);
/* oklch */ color: oklch(48.7% 0.178 314.1);
Tailwind
colors: {
  custom: {
    50: '#aa72c0',
    500: '#8335a4',
    950: '#000000',
  },
}
SCSS
$custom: #8335a4;
$custom-light: #aa72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8335a4",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 282.162,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.17835,
    "h": 314.1
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#8335A4
secondary
#8CBE76
accent
#DB4D77
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8335A4

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

Preview Lab → · Contrast checker → · Palette generator →

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