#8335C7#8335C7

#8335C7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.214 H 304.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8335C7
RGBrgb(131, 53, 199)
HSLhsl(272, 58%, 49%)
HSVhsv(272, 73%, 78%)
CMYKcmyk(34.2%, 73.4%, 0%, 22%)
CIE-LABlab(40.40, 58.87, -62.17)
CIE-LCHlch(40.40, 85.62, 313.44°)
OKLaboklab(51.26% 0.1195 -0.177)
OKLCHoklch(51.26% 0.214 304)
XYZxyz(20.9396, 11.4951, 55.1374)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335C7 #79C735
analogous
#3A35C7 #8335C7 #C735C2
triadic
#8335C7 #C78335 #35C783
tetradic
#8335C7 #C73A35 #79C735 #35C2C7
square
#8335C7 #C73A35 #79C735 #35C2C7
split-complementary
#8335C7 #C2C735 #35C73A
monochromatic
#431B66 #632897 #8335C7 #A164D6 #BE94E2

Accessibility & contrast

On white

6.37
#8335C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8335C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335C7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335C7#FFFFFF#000000##FFFFFF
##8335C71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#76597B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8335c7;
/* rgb */ color: rgb(131, 53, 199);
/* oklch */ color: oklch(51.3% 0.214 304.0);
Tailwind
colors: {
  custom: {
    50: '#ad74d9',
    500: '#8335c7',
    950: '#000000',
  },
}
SCSS
$custom: #8335c7;
$custom-light: #ad74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8335c7",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 272.055,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.21356,
    "h": 304
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#8335C7
secondary
#AACE8A
accent
#E1478F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8335C7

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

Preview Lab → · Contrast checker → · Palette generator →

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