#9335C6#9335C6

#9335C6 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.217 H 310.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9335C6
RGBrgb(147, 53, 198)
HSLhsl(279, 58%, 49%)
HSVhsv(279, 73%, 78%)
CMYKcmyk(25.8%, 73.2%, 0%, 22.4%)
CIE-LABlab(42.50, 61.64, -58.08)
CIE-LCHlch(42.50, 84.70, 316.70°)
OKLaboklab(53.18% 0.1411 -0.1645)
OKLCHoklch(53.18% 0.217 310.6)
XYZxyz(23.4968, 12.8270, 54.6532)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335C6 #68C635
analogous
#4B35C6 #9335C6 #C635B1
triadic
#9335C6 #C69335 #35C693
tetradic
#9335C6 #C64B35 #68C635 #35B1C6
square
#9335C6 #C64B35 #68C635 #35B1C6
split-complementary
#9335C6 #B1C635 #35C64B
monochromatic
#4B1B65 #6F2896 #9335C6 #AD63D5 #C693E2

Accessibility & contrast

On white

5.89
#9335C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9335C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335C6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335C6#FFFFFF#000000##FFFFFF
##9335C61.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#1866C3
Tritanopia (blue-blind)
#8C567B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9335c6;
/* rgb */ color: rgb(147, 53, 198);
/* oklch */ color: oklch(53.2% 0.217 310.6);
Tailwind
colors: {
  custom: {
    50: '#b775d8',
    500: '#9335c6',
    950: '#000000',
  },
}
SCSS
$custom: #9335c6;
$custom-light: #b775d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9335c6",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 278.897,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.2167,
    "h": 310.6
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#9335C6
secondary
#A1CD8A
accent
#E1477D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9335C6

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

Preview Lab → · Contrast checker → · Palette generator →

#9335C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva