#8335A2#8335A2

#8335A2 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.176 H 314.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8335A2
RGBrgb(131, 53, 162)
HSLhsl(283, 51%, 42%)
HSVhsv(283, 67%, 64%)
CMYKcmyk(19.1%, 67.3%, 0%, 36.5%)
CIE-LABlab(37.81, 50.63, -44.49)
CIE-LCHlch(37.81, 67.40, 318.69°)
OKLaboklab(48.59% 0.1243 -0.1251)
OKLCHoklch(48.59% 0.176 314.8)
XYZxyz(17.1537, 9.9807, 35.1983)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335A2 #54A235
analogous
#4D35A2 #8335A2 #A2358B
triadic
#8335A2 #A28335 #35A283
tetradic
#8335A2 #A24D35 #54A235 #358BA2
square
#8335A2 #A24D35 #54A235 #358BA2
split-complementary
#8335A2 #8BA235 #35A24D
monochromatic
#381746 #5E2674 #8335A2 #A44FC5 #BC7DD4

Accessibility & contrast

On white

7.01
#8335A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8335A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335A2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335A2#FFFFFF#000000##FFFFFF
##8335A21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#804A67
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8335a2;
/* rgb */ color: rgb(131, 53, 162);
/* oklch */ color: oklch(48.6% 0.176 314.8);
Tailwind
colors: {
  custom: {
    50: '#aa72be',
    500: '#8335a2',
    950: '#000000',
  },
}
SCSS
$custom: #8335a2;
$custom-light: #aa72be;
$custom-dark: #000000;
JSON
{
  "hex": "#8335a2",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 282.936,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.17636,
    "h": 314.8
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#8335A2
secondary
#8ABD75
accent
#DA4E76
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8335A2

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

Preview Lab → · Contrast checker → · Palette generator →

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