#8335AF#8335AF

#8335AF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.189 H 310.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8335AF
RGBrgb(131, 53, 175)
HSLhsl(278, 54%, 45%)
HSVhsv(278, 70%, 69%)
CMYKcmyk(25.1%, 69.7%, 0%, 31.4%)
CIE-LABlab(38.67, 53.45, -50.87)
CIE-LCHlch(38.67, 73.79, 316.41°)
OKLaboklab(49.48% 0.1232 -0.1438)
OKLCHoklch(49.48% 0.189 310.6)
XYZxyz(18.3696, 10.4671, 41.6018)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335AF #61AF35
analogous
#4635AF #8335AF #AF359E
triadic
#8335AF #AF8335 #35AF83
tetradic
#8335AF #AF4635 #61AF35 #359EAF
square
#8335AF #AF4635 #61AF35 #359EAF
split-complementary
#8335AF #9EAF35 #35AF46
monochromatic
#3D1951 #602780 #8335AF #A156CC #BB85DA

Accessibility & contrast

On white

6.79
#8335AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8335AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335AF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335AF#FFFFFF#000000##FFFFFF
##8335AF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#225CAC
Tritanopia (blue-blind)
#7D4F6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8335af;
/* rgb */ color: rgb(131, 53, 175);
/* oklch */ color: oklch(49.5% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#ab73c8',
    500: '#8335af',
    950: '#000000',
  },
}
SCSS
$custom: #8335af;
$custom-light: #ab73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8335af",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 278.361,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.18939,
    "h": 310.6
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#8335AF
secondary
#96C47C
accent
#DD4B80
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8335AF

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

Preview Lab → · Contrast checker → · Palette generator →

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