#8335A0#8335A0

#8335A0 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 315.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8335A0
RGBrgb(131, 53, 160)
HSLhsl(284, 50%, 42%)
HSVhsv(284, 67%, 63%)
CMYKcmyk(18.1%, 66.9%, 0%, 37.3%)
CIE-LABlab(37.68, 50.20, -43.49)
CIE-LCHlch(37.68, 66.42, 319.10°)
OKLaboklab(48.46% 0.1244 -0.1222)
OKLCHoklch(48.46% 0.174 315.5)
XYZxyz(16.9773, 9.9102, 34.2694)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335A0 #52A035
analogous
#4D35A0 #8335A0 #A03588
triadic
#8335A0 #A08335 #35A083
tetradic
#8335A0 #A04D35 #52A035 #3588A0
square
#8335A0 #A04D35 #52A035 #3588A0
split-complementary
#8335A0 #88A035 #35A04D
monochromatic
#381744 #5D2672 #8335A0 #A44EC4 #BC7CD4

Accessibility & contrast

On white

7.04
#8335A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8335A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8335A0#FFFFFF#000000##FFFFFF
##8335A01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A3
Deuteranopia (green-blind)
#345B9D
Tritanopia (blue-blind)
#814966
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8335a0;
/* rgb */ color: rgb(131, 53, 160);
/* oklch */ color: oklch(48.5% 0.174 315.5);
Tailwind
colors: {
  custom: {
    50: '#aa72bd',
    500: '#8335a0',
    950: '#000000',
  },
}
SCSS
$custom: #8335a0;
$custom-light: #aa72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8335a0",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 283.738,
    "s": 50.235,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48459,
    "c": 0.17437,
    "h": 315.5
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#8335A0
secondary
#88BC74
accent
#DA4E74
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8335A0

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

Preview Lab → · Contrast checker → · Palette generator →

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