#8335CA#8335CA

#8335CA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.217 H 303.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8335CA
RGBrgb(131, 53, 202)
HSLhsl(271, 58%, 50%)
HSVhsv(271, 74%, 79%)
CMYKcmyk(35.1%, 73.8%, 0%, 20.8%)
CIE-LABlab(40.63, 59.56, -63.54)
CIE-LCHlch(40.63, 87.09, 313.15°)
OKLaboklab(51.49% 0.1189 -0.181)
OKLCHoklch(51.49% 0.217 303.3)
XYZxyz(21.2913, 11.6358, 56.9899)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335CA #7CCA35
analogous
#3835CA #8335CA #CA35C7
triadic
#8335CA #CA8335 #35CA83
tetradic
#8335CA #CA3835 #7CCA35 #35C7CA
square
#8335CA #CA3835 #7CCA35 #35C7CA
split-complementary
#8335CA #C7CA35 #35CA38
monochromatic
#441C69 #64289A #8335CA #A165D7 #BF96E3

Accessibility & contrast

On white

6.31
#8335CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8335CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335CA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335CA#FFFFFF#000000##FFFFFF
##8335CA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#755A7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8335ca;
/* rgb */ color: rgb(131, 53, 202);
/* oklch */ color: oklch(51.5% 0.217 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad74db',
    500: '#8335ca',
    950: '#000000',
  },
}
SCSS
$custom: #8335ca;
$custom-light: #ad74db;
$custom-dark: #000000;
JSON
{
  "hex": "#8335ca",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 271.409,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.21659,
    "h": 303.3
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#8335CA
secondary
#ACCF8C
accent
#E24690
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8335CA

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

Preview Lab → · Contrast checker → · Palette generator →

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