#8335C5#8335C5

#8335C5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.212 H 304.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8335C5
RGBrgb(131, 53, 197)
HSLhsl(273, 58%, 49%)
HSVhsv(273, 73%, 77%)
CMYKcmyk(33.5%, 73.1%, 0%, 22.7%)
CIE-LABlab(40.25, 58.41, -61.25)
CIE-LCHlch(40.25, 84.63, 313.64°)
OKLaboklab(51.11% 0.1199 -0.1743)
OKLCHoklch(51.11% 0.212 304.5)
XYZxyz(20.7089, 11.4028, 53.9225)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335C5 #77C535
analogous
#3B35C5 #8335C5 #C535BF
triadic
#8335C5 #C58335 #35C583
tetradic
#8335C5 #C53B35 #77C535 #35BFC5
square
#8335C5 #C53B35 #77C535 #35BFC5
split-complementary
#8335C5 #BFC535 #35C53B
monochromatic
#431B65 #632895 #8335C5 #A062D5 #BE93E2

Accessibility & contrast

On white

6.40
#8335C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8335C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335C5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335C5#FFFFFF#000000##FFFFFF
##8335C51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#76587A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8335c5;
/* rgb */ color: rgb(131, 53, 197);
/* oklch */ color: oklch(51.1% 0.212 304.5);
Tailwind
colors: {
  custom: {
    50: '#ad74d7',
    500: '#8335c5',
    950: '#000000',
  },
}
SCSS
$custom: #8335c5;
$custom-light: #ad74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8335c5",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 272.5,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.21155,
    "h": 304.5
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#8335C5
secondary
#A8CD89
accent
#E1478D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8335C5

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

Preview Lab → · Contrast checker → · Palette generator →

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