#8335B7#8335B7

#8335B7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.1% C 0.197 H 308.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8335B7
RGBrgb(131, 53, 183)
HSLhsl(276, 55%, 46%)
HSVhsv(276, 71%, 72%)
CMYKcmyk(28.4%, 71%, 0%, 28.2%)
CIE-LABlab(39.23, 55.23, -54.70)
CIE-LCHlch(39.23, 77.73, 315.27°)
OKLaboklab(50.06% 0.1222 -0.1551)
OKLCHoklch(50.06% 0.197 308.2)
XYZxyz(19.1787, 10.7907, 45.8630)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B7 #69B735
analogous
#4235B7 #8335B7 #B735AA
triadic
#8335B7 #B78335 #35B783
tetradic
#8335B7 #B74235 #69B735 #35AAB7
square
#8335B7 #B74235 #69B735 #35AAB7
split-complementary
#8335B7 #AAB735 #35B742
monochromatic
#3F1A58 #612788 #8335B7 #A05ACF #BC89DD

Accessibility & contrast

On white

6.65
#8335B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8335B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B7#FFFFFF#000000##FFFFFF
##8335B71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#7B5272
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8335b7;
/* rgb */ color: rgb(131, 53, 183);
/* oklch */ color: oklch(50.1% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#ac73cd',
    500: '#8335b7',
    950: '#000000',
  },
}
SCSS
$custom: #8335b7;
$custom-light: #ac73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b7",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 276,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.19745,
    "h": 308.2
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#8335B7
secondary
#9DC781
accent
#DE4985
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8335B7

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

Preview Lab → · Contrast checker → · Palette generator →

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