#8335BA#8335BA

#8335BA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.200 H 307.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8335BA
RGBrgb(131, 53, 186)
HSLhsl(275, 56%, 47%)
HSVhsv(275, 72%, 73%)
CMYKcmyk(29.6%, 71.5%, 0%, 27.1%)
CIE-LABlab(39.44, 55.90, -56.12)
CIE-LCHlch(39.44, 79.21, 314.89°)
OKLaboklab(50.28% 0.1218 -0.1592)
OKLCHoklch(50.28% 0.2 307.4)
XYZxyz(19.4942, 10.9169, 47.5251)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335BA #6CBA35
analogous
#4035BA #8335BA #BA35AF
triadic
#8335BA #BA8335 #35BA83
tetradic
#8335BA #BA4035 #6CBA35 #35AFBA
square
#8335BA #BA4035 #6CBA35 #35AFBA
split-complementary
#8335BA #AFBA35 #35BA40
monochromatic
#401A5B #61278A #8335BA #A05CD0 #BC8BDE

Accessibility & contrast

On white

6.60
#8335BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8335BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335BA#FFFFFF#000000##FFFFFF
##8335BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#075EB7
Tritanopia (blue-blind)
#7A5474
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8335ba;
/* rgb */ color: rgb(131, 53, 186);
/* oklch */ color: oklch(50.3% 0.200 307.4);
Tailwind
colors: {
  custom: {
    50: '#ac73d0',
    500: '#8335ba',
    950: '#000000',
  },
}
SCSS
$custom: #8335ba;
$custom-light: #ac73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8335ba",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 275.188,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.20046,
    "h": 307.4
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8335BA

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

Preview Lab → · Contrast checker → · Palette generator →

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