#8335A7#8335A7

#8335A7 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.181 H 313.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8335A7
RGBrgb(131, 53, 167)
HSLhsl(281, 52%, 43%)
HSVhsv(281, 68%, 65%)
CMYKcmyk(21.6%, 68.3%, 0%, 34.5%)
CIE-LABlab(38.13, 51.70, -46.97)
CIE-LCHlch(38.13, 69.85, 317.75°)
OKLaboklab(48.93% 0.124 -0.1324)
OKLCHoklch(48.93% 0.181 313.1)
XYZxyz(17.6070, 10.1620, 37.5857)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335A7 #59A735
analogous
#4A35A7 #8335A7 #A73592
triadic
#8335A7 #A78335 #35A783
tetradic
#8335A7 #A74A35 #59A735 #3592A7
square
#8335A7 #A74A35 #59A735 #3592A7
split-complementary
#8335A7 #92A735 #35A74A
monochromatic
#3A184A #5F2679 #8335A7 #A251C8 #BB80D7

Accessibility & contrast

On white

6.93
#8335A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8335A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335A7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335A7#FFFFFF#000000##FFFFFF
##8335A71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#2D5CA4
Tritanopia (blue-blind)
#7F4C6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8335a7;
/* rgb */ color: rgb(131, 53, 167);
/* oklch */ color: oklch(48.9% 0.181 313.1);
Tailwind
colors: {
  custom: {
    50: '#ab72c2',
    500: '#8335a7',
    950: '#000000',
  },
}
SCSS
$custom: #8335a7;
$custom-light: #ab72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8335a7",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 281.053,
    "s": 51.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.18136,
    "h": 313.1
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#8335A7
secondary
#8FC078
accent
#DB4D7A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8335A7

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

Preview Lab → · Contrast checker → · Palette generator →

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