#8335B2#8335B2

#8335B2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.192 H 309.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8335B2
RGBrgb(131, 53, 178)
HSLhsl(277, 54%, 45%)
HSVhsv(277, 70%, 70%)
CMYKcmyk(26.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(38.87, 54.11, -52.32)
CIE-LCHlch(38.87, 75.27, 315.96°)
OKLaboklab(49.7% 0.1229 -0.1481)
OKLCHoklch(49.7% 0.192 309.7)
XYZxyz(18.6675, 10.5862, 43.1708)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B2 #64B235
analogous
#4435B2 #8335B2 #B235A2
triadic
#8335B2 #B28335 #35B283
tetradic
#8335B2 #B24435 #64B235 #35A2B2
square
#8335B2 #B24435 #64B235 #35A2B2
split-complementary
#8335B2 #A2B235 #35B244
monochromatic
#3E1954 #602783 #8335B2 #A157CD #BB86DB

Accessibility & contrast

On white

6.74
#8335B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8335B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B2#FFFFFF#000000##FFFFFF
##8335B21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#1D5DAF
Tritanopia (blue-blind)
#7C5070
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8335b2;
/* rgb */ color: rgb(131, 53, 178);
/* oklch */ color: oklch(49.7% 0.192 309.7);
Tailwind
colors: {
  custom: {
    50: '#ab73ca',
    500: '#8335b2',
    950: '#000000',
  },
}
SCSS
$custom: #8335b2;
$custom-light: #ab73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b2",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 277.44,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.19241,
    "h": 309.7
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#8335B2
secondary
#99C57E
accent
#DD4A82
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B2

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

Preview Lab → · Contrast checker → · Palette generator →

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