#8335BF#8335BF

#8335BF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.206 H 306.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8335BF
RGBrgb(131, 53, 191)
HSLhsl(274, 57%, 48%)
HSVhsv(274, 72%, 75%)
CMYKcmyk(31.4%, 72.3%, 0%, 25.1%)
CIE-LABlab(39.80, 57.03, -58.47)
CIE-LCHlch(39.80, 81.68, 314.29°)
OKLaboklab(50.65% 0.121 -0.1661)
OKLCHoklch(50.65% 0.206 306.1)
XYZxyz(20.0351, 11.1333, 50.3736)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335BF #71BF35
analogous
#3E35BF #8335BF #BF35B6
triadic
#8335BF #BF8335 #35BF83
tetradic
#8335BF #BF3E35 #71BF35 #35B6BF
square
#8335BF #BF3E35 #71BF35 #35B6BF
split-complementary
#8335BF #B6BF35 #35BF3E
monochromatic
#411A5F #62288F #8335BF #A05FD3 #BC8FE0

Accessibility & contrast

On white

6.51
#8335BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8335BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335BF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335BF#FFFFFF#000000##FFFFFF
##8335BF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#785677
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8335bf;
/* rgb */ color: rgb(131, 53, 191);
/* oklch */ color: oklch(50.6% 0.206 306.1);
Tailwind
colors: {
  custom: {
    50: '#ac73d3',
    500: '#8335bf',
    950: '#000000',
  },
}
SCSS
$custom: #8335bf;
$custom-light: #ac73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8335bf",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 273.913,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.20551,
    "h": 306.1
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#8335BF
secondary
#A3CA85
accent
#E0488A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8335BF

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

Preview Lab → · Contrast checker → · Palette generator →

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