#8335A1#8335A1

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

Color values

HEX#8335A1
RGBrgb(131, 53, 161)
HSLhsl(283, 50%, 42%)
HSVhsv(283, 67%, 63%)
CMYKcmyk(18.6%, 67.1%, 0%, 36.9%)
CIE-LABlab(37.74, 50.42, -43.99)
CIE-LCHlch(37.74, 66.91, 318.89°)
OKLaboklab(48.53% 0.1244 -0.1236)
OKLCHoklch(48.53% 0.175 315.2)
XYZxyz(17.0652, 9.9453, 34.7320)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335A1 #53A135
analogous
#4D35A1 #8335A1 #A13589
triadic
#8335A1 #A18335 #35A183
tetradic
#8335A1 #A14D35 #53A135 #3589A1
square
#8335A1 #A14D35 #53A135 #3589A1
split-complementary
#8335A1 #89A135 #35A14D
monochromatic
#381745 #5E2673 #8335A1 #A44EC5 #BC7CD4

Accessibility & contrast

On white

7.03
#8335A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8335A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8335A1#FFFFFF#000000##FFFFFF
##8335A11.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#335B9E
Tritanopia (blue-blind)
#814A66
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8335a1;
/* rgb */ color: rgb(131, 53, 161);
/* oklch */ color: oklch(48.5% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#aa72bd',
    500: '#8335a1',
    950: '#000000',
  },
}
SCSS
$custom: #8335a1;
$custom-light: #aa72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8335a1",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 161
  },
  "hsl": {
    "h": 283.333,
    "s": 50.467,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.17537,
    "h": 315.2
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#8335A1
secondary
#89BD75
accent
#DA4E75
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8335A1

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

Preview Lab → · Contrast checker → · Palette generator →

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