#8335B6#8335B6

#8335B6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 50.0% C 0.196 H 308.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8335B6
RGBrgb(131, 53, 182)
HSLhsl(276, 55%, 46%)
HSVhsv(276, 71%, 71%)
CMYKcmyk(28%, 70.9%, 0%, 28.6%)
CIE-LABlab(39.15, 55.00, -54.23)
CIE-LCHlch(39.15, 77.24, 315.40°)
OKLaboklab(49.98% 0.1224 -0.1537)
OKLCHoklch(49.98% 0.196 308.5)
XYZxyz(19.0749, 10.7492, 45.3168)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B6 #68B635
analogous
#4235B6 #8335B6 #B635A8
triadic
#8335B6 #B68335 #35B683
tetradic
#8335B6 #B64235 #68B635 #35A8B6
square
#8335B6 #B64235 #68B635 #35A8B6
split-complementary
#8335B6 #A8B635 #35B642
monochromatic
#3F1957 #612787 #8335B6 #A059CF #BB89DD

Accessibility & contrast

On white

6.67
#8335B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8335B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B6
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B6#FFFFFF#000000##FFFFFF
##8335B61.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#7B5272
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8335b6;
/* rgb */ color: rgb(131, 53, 182);
/* oklch */ color: oklch(50.0% 0.196 308.5);
Tailwind
colors: {
  custom: {
    50: '#ab73cd',
    500: '#8335b6',
    950: '#000000',
  },
}
SCSS
$custom: #8335b6;
$custom-light: #ab73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b6",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 276.279,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.19644,
    "h": 308.5
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#8335B6
secondary
#9CC780
accent
#DE4A84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B6

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

Preview Lab → · Contrast checker → · Palette generator →

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