#8335B9#8335B9

#8335B9 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.2% C 0.199 H 307.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8335B9
RGBrgb(131, 53, 185)
HSLhsl(275, 55%, 47%)
HSVhsv(275, 71%, 73%)
CMYKcmyk(29.2%, 71.4%, 0%, 27.5%)
CIE-LABlab(39.37, 55.67, -55.65)
CIE-LCHlch(39.37, 78.72, 315.01°)
OKLaboklab(50.2% 0.1219 -0.1579)
OKLCHoklch(50.2% 0.199 307.7)
XYZxyz(19.3883, 10.8746, 46.9672)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B9 #6BB935
analogous
#4135B9 #8335B9 #B935AD
triadic
#8335B9 #B98335 #35B983
tetradic
#8335B9 #B94135 #6BB935 #35ADB9
square
#8335B9 #B94135 #6BB935 #35ADB9
split-complementary
#8335B9 #ADB935 #35B941
monochromatic
#401A5A #612789 #8335B9 #A05BD0 #BC8BDE

Accessibility & contrast

On white

6.61
#8335B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8335B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B9#FFFFFF#000000##FFFFFF
##8335B91.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#0B5DB6
Tritanopia (blue-blind)
#7A5374
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8335b9;
/* rgb */ color: rgb(131, 53, 185);
/* oklch */ color: oklch(50.2% 0.199 307.7);
Tailwind
colors: {
  custom: {
    50: '#ac73cf',
    500: '#8335b9',
    950: '#000000',
  },
}
SCSS
$custom: #8335b9;
$custom-light: #ac73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b9",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 275.455,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.19946,
    "h": 307.7
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#8335B9
secondary
#9FC882
accent
#DF4986
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8335B9

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

Preview Lab → · Contrast checker → · Palette generator →

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