#8335B4#8335B4

#8335B4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.194 H 309.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8335B4
RGBrgb(131, 53, 180)
HSLhsl(277, 55%, 46%)
HSVhsv(277, 71%, 71%)
CMYKcmyk(27.2%, 70.6%, 0%, 29.4%)
CIE-LABlab(39.01, 54.55, -53.28)
CIE-LCHlch(39.01, 76.25, 315.68°)
OKLaboklab(49.84% 0.1226 -0.1509)
OKLCHoklch(49.84% 0.194 309.1)
XYZxyz(18.8697, 10.6671, 44.2361)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B4 #66B435
analogous
#4335B4 #8335B4 #B435A5
triadic
#8335B4 #B48335 #35B483
tetradic
#8335B4 #B44335 #66B435 #35A5B4
square
#8335B4 #B44335 #66B435 #35A5B4
split-complementary
#8335B4 #A5B435 #35B443
monochromatic
#3E1955 #612785 #8335B4 #A158CE #BB88DC

Accessibility & contrast

On white

6.70
#8335B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8335B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B4#FFFFFF#000000##FFFFFF
##8335B41.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#195DB1
Tritanopia (blue-blind)
#7C5171
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8335b4;
/* rgb */ color: rgb(131, 53, 180);
/* oklch */ color: oklch(49.8% 0.194 309.1);
Tailwind
colors: {
  custom: {
    50: '#ab73cb',
    500: '#8335b4',
    950: '#000000',
  },
}
SCSS
$custom: #8335b4;
$custom-light: #ab73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b4",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 276.85,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.19442,
    "h": 309.1
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#8335B4
secondary
#9AC67F
accent
#DE4A83
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B4

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

Preview Lab → · Contrast checker → · Palette generator →

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