#8335B8#8335B8

#8335B8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.1% C 0.198 H 308.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8335B8
RGBrgb(131, 53, 184)
HSLhsl(276, 55%, 46%)
HSVhsv(276, 71%, 72%)
CMYKcmyk(28.8%, 71.2%, 0%, 27.8%)
CIE-LABlab(39.30, 55.45, -55.18)
CIE-LCHlch(39.30, 78.23, 315.14°)
OKLaboklab(50.13% 0.1221 -0.1565)
OKLCHoklch(50.13% 0.198 308)
XYZxyz(19.2831, 10.8325, 46.4131)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B8 #6AB835
analogous
#4235B8 #8335B8 #B835AC
triadic
#8335B8 #B88335 #35B883
tetradic
#8335B8 #B84235 #6AB835 #35ACB8
square
#8335B8 #B84235 #6AB835 #35ACB8
split-complementary
#8335B8 #ACB835 #35B842
monochromatic
#3F1A59 #612788 #8335B8 #A05BD0 #BC8ADD

Accessibility & contrast

On white

6.63
#8335B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8335B8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B8#FFFFFF#000000##FFFFFF
##8335B81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#0F5DB5
Tritanopia (blue-blind)
#7B5373
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8335b8;
/* rgb */ color: rgb(131, 53, 184);
/* oklch */ color: oklch(50.1% 0.198 308.0);
Tailwind
colors: {
  custom: {
    50: '#ac73ce',
    500: '#8335b8',
    950: '#000000',
  },
}
SCSS
$custom: #8335b8;
$custom-light: #ac73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b8",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 275.725,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5013,
    "c": 0.19845,
    "h": 308
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8335B8

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

Preview Lab → · Contrast checker → · Palette generator →

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