#8335B0#8335B0

#8335B0 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.190 H 310.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8335B0
RGBrgb(131, 53, 176)
HSLhsl(278, 54%, 45%)
HSVhsv(278, 70%, 69%)
CMYKcmyk(25.6%, 69.9%, 0%, 31%)
CIE-LABlab(38.74, 53.67, -51.35)
CIE-LCHlch(38.74, 74.28, 316.26°)
OKLaboklab(49.55% 0.1231 -0.1452)
OKLCHoklch(49.55% 0.19 310.3)
XYZxyz(18.4681, 10.5065, 42.1210)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B0 #62B035
analogous
#4635B0 #8335B0 #B0359F
triadic
#8335B0 #B08335 #35B083
tetradic
#8335B0 #B04635 #62B035 #359FB0
square
#8335B0 #B04635 #62B035 #359FB0
split-complementary
#8335B0 #9FB035 #35B046
monochromatic
#3D1952 #602781 #8335B0 #A156CC #BB85DA

Accessibility & contrast

On white

6.77
#8335B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8335B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B0
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B0#FFFFFF#000000##FFFFFF
##8335B01.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#7D506F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8335b0;
/* rgb */ color: rgb(131, 53, 176);
/* oklch */ color: oklch(49.6% 0.190 310.3);
Tailwind
colors: {
  custom: {
    50: '#ab73c8',
    500: '#8335b0',
    950: '#000000',
  },
}
SCSS
$custom: #8335b0;
$custom-light: #ab73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b0",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 176
  },
  "hsl": {
    "h": 278.049,
    "s": 53.712,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.1904,
    "h": 310.3
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#8335B0
secondary
#97C47D
accent
#DD4B80
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B0

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

Preview Lab → · Contrast checker → · Palette generator →

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