#8335BD#8335BD

#8335BD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.203 H 306.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8335BD
RGBrgb(131, 53, 189)
HSLhsl(274, 56%, 47%)
HSVhsv(274, 72%, 74%)
CMYKcmyk(30.7%, 72%, 0%, 25.9%)
CIE-LABlab(39.66, 56.58, -57.53)
CIE-LCHlch(39.66, 80.69, 314.52°)
OKLaboklab(50.5% 0.1213 -0.1634)
OKLCHoklch(50.5% 0.203 306.6)
XYZxyz(19.8165, 11.0458, 49.2224)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335BD #6FBD35
analogous
#3F35BD #8335BD #BD35B3
triadic
#8335BD #BD8335 #35BD83
tetradic
#8335BD #BD3F35 #6FBD35 #35B3BD
square
#8335BD #BD3F35 #6FBD35 #35B3BD
split-complementary
#8335BD #B3BD35 #35BD3F
monochromatic
#411A5D #62288D #8335BD #A05DD2 #BC8DDF

Accessibility & contrast

On white

6.54
#8335BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8335BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335BD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335BD#FFFFFF#000000##FFFFFF
##8335BD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#795576
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8335bd;
/* rgb */ color: rgb(131, 53, 189);
/* oklch */ color: oklch(50.5% 0.203 306.6);
Tailwind
colors: {
  custom: {
    50: '#ac73d2',
    500: '#8335bd',
    950: '#000000',
  },
}
SCSS
$custom: #8335bd;
$custom-light: #ac73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8335bd",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 274.412,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.505,
    "c": 0.20349,
    "h": 306.6
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#8335BD
secondary
#A2CA84
accent
#DF4889
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8335BD

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

Preview Lab → · Contrast checker → · Palette generator →

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