#8335C4#8335C4

#8335C4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.211 H 304.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8335C4
RGBrgb(131, 53, 196)
HSLhsl(273, 57%, 49%)
HSVhsv(273, 73%, 77%)
CMYKcmyk(33.2%, 73%, 0%, 23.1%)
CIE-LABlab(40.18, 58.18, -60.79)
CIE-LCHlch(40.18, 84.14, 313.74°)
OKLaboklab(51.03% 0.1201 -0.173)
OKLCHoklch(51.03% 0.211 304.8)
XYZxyz(20.5947, 11.3571, 53.3210)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335C4 #76C435
analogous
#3B35C4 #8335C4 #C435BE
triadic
#8335C4 #C48335 #35C483
tetradic
#8335C4 #C43B35 #76C435 #35BEC4
square
#8335C4 #C43B35 #76C435 #35BEC4
split-complementary
#8335C4 #BEC435 #35C43B
monochromatic
#431B64 #632894 #8335C4 #A062D4 #BD92E1

Accessibility & contrast

On white

6.42
#8335C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8335C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335C4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335C4#FFFFFF#000000##FFFFFF
##8335C41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#77587A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8335c4;
/* rgb */ color: rgb(131, 53, 196);
/* oklch */ color: oklch(51.0% 0.211 304.8);
Tailwind
colors: {
  custom: {
    50: '#ad73d7',
    500: '#8335c4',
    950: '#000000',
  },
}
SCSS
$custom: #8335c4;
$custom-light: #ad73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8335c4",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 272.727,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.21054,
    "h": 304.8
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#8335C4
secondary
#A7CC88
accent
#E1478D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8335C4

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

Preview Lab → · Contrast checker → · Palette generator →

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