#8335C1#8335C1

#8335C1 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.208 H 305.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8335C1
RGBrgb(131, 53, 193)
HSLhsl(273, 57%, 48%)
HSVhsv(273, 73%, 76%)
CMYKcmyk(32.1%, 72.5%, 0%, 24.3%)
CIE-LABlab(39.95, 57.49, -59.40)
CIE-LCHlch(39.95, 82.67, 314.06°)
OKLaboklab(50.8% 0.1206 -0.1689)
OKLCHoklch(50.8% 0.208 305.5)
XYZxyz(20.2567, 11.2219, 51.5406)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335C1 #73C135
analogous
#3D35C1 #8335C1 #C135B9
triadic
#8335C1 #C18335 #35C183
tetradic
#8335C1 #C13D35 #73C135 #35B9C1
square
#8335C1 #C13D35 #73C135 #35B9C1
split-complementary
#8335C1 #B9C135 #35C13D
monochromatic
#421B61 #622891 #8335C1 #A060D3 #BD90E0

Accessibility & contrast

On white

6.47
#8335C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8335C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335C1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335C1#FFFFFF#000000##FFFFFF
##8335C11.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#785678
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8335c1;
/* rgb */ color: rgb(131, 53, 193);
/* oklch */ color: oklch(50.8% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#ac73d5',
    500: '#8335c1',
    950: '#000000',
  },
}
SCSS
$custom: #8335c1;
$custom-light: #ac73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8335c1",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 273.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.20752,
    "h": 305.5
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#8335C1
secondary
#A5CB87
accent
#E0488B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8335C1

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

Preview Lab → · Contrast checker → · Palette generator →

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