#8335B5#8335B5

#8335B5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.195 H 308.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8335B5
RGBrgb(131, 53, 181)
HSLhsl(277, 55%, 46%)
HSVhsv(277, 71%, 71%)
CMYKcmyk(27.6%, 70.7%, 0%, 29%)
CIE-LABlab(39.08, 54.78, -53.75)
CIE-LCHlch(39.08, 76.75, 315.54°)
OKLaboklab(49.91% 0.1225 -0.1523)
OKLCHoklch(49.91% 0.195 308.8)
XYZxyz(18.9720, 10.7080, 44.7745)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B5 #67B535
analogous
#4335B5 #8335B5 #B535A7
triadic
#8335B5 #B58335 #35B583
tetradic
#8335B5 #B54335 #67B535 #35A7B5
square
#8335B5 #B54335 #67B535 #35A7B5
split-complementary
#8335B5 #A7B535 #35B543
monochromatic
#3E1956 #612786 #8335B5 #A059CE #BB88DC

Accessibility & contrast

On white

6.68
#8335B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8335B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B5#FFFFFF#000000##FFFFFF
##8335B51.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#175DB2
Tritanopia (blue-blind)
#7B5271
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8335b5;
/* rgb */ color: rgb(131, 53, 181);
/* oklch */ color: oklch(49.9% 0.195 308.8);
Tailwind
colors: {
  custom: {
    50: '#ab73cc',
    500: '#8335b5',
    950: '#000000',
  },
}
SCSS
$custom: #8335b5;
$custom-light: #ab73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b5",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 276.563,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.19542,
    "h": 308.8
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#8335B5
secondary
#9BC680
accent
#DE4A84
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B5

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

Preview Lab → · Contrast checker → · Palette generator →

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