#8335C2#8335C2

#8335C2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.209 H 305.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8335C2
RGBrgb(131, 53, 194)
HSLhsl(273, 57%, 48%)
HSVhsv(273, 73%, 76%)
CMYKcmyk(32.5%, 72.7%, 0%, 23.9%)
CIE-LABlab(40.03, 57.72, -59.86)
CIE-LCHlch(40.03, 83.16, 313.95°)
OKLaboklab(50.88% 0.1204 -0.1703)
OKLCHoklch(50.88% 0.209 305.3)
XYZxyz(20.3686, 11.2667, 52.1301)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335C2 #74C235
analogous
#3C35C2 #8335C2 #C235BA
triadic
#8335C2 #C28335 #35C283
tetradic
#8335C2 #C23C35 #74C235 #35BAC2
square
#8335C2 #C23C35 #74C235 #35BAC2
split-complementary
#8335C2 #BAC235 #35C23C
monochromatic
#421B62 #632892 #8335C2 #A060D4 #BD91E1

Accessibility & contrast

On white

6.45
#8335C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8335C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335C2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335C2#FFFFFF#000000##FFFFFF
##8335C21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#775779
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8335c2;
/* rgb */ color: rgb(131, 53, 194);
/* oklch */ color: oklch(50.9% 0.209 305.3);
Tailwind
colors: {
  custom: {
    50: '#ac73d5',
    500: '#8335c2',
    950: '#000000',
  },
}
SCSS
$custom: #8335c2;
$custom-light: #ac73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8335c2",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 273.191,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.20853,
    "h": 305.3
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#8335C2
secondary
#A6CC87
accent
#E0478C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8335C2

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

Preview Lab → · Contrast checker → · Palette generator →

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