#9335C5#9335C5

#9335C5 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.216 H 310.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9335C5
RGBrgb(147, 53, 197)
HSLhsl(279, 58%, 49%)
HSVhsv(279, 73%, 77%)
CMYKcmyk(25.4%, 73.1%, 0%, 22.7%)
CIE-LABlab(42.43, 61.43, -57.61)
CIE-LCHlch(42.43, 84.22, 316.84°)
OKLaboklab(53.11% 0.1413 -0.1631)
OKLCHoklch(53.11% 0.216 310.9)
XYZxyz(23.3818, 12.7810, 54.0478)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335C5 #67C535
analogous
#4B35C5 #9335C5 #C535AF
triadic
#9335C5 #C59335 #35C593
tetradic
#9335C5 #C54B35 #67C535 #35AFC5
square
#9335C5 #C54B35 #67C535 #35AFC5
split-complementary
#9335C5 #AFC535 #35C54B
monochromatic
#4B1B65 #6F2895 #9335C5 #AD62D5 #C693E2

Accessibility & contrast

On white

5.91
#9335C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9335C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335C5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335C5#FFFFFF#000000##FFFFFF
##9335C51.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#1A66C2
Tritanopia (blue-blind)
#8C567A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9335c5;
/* rgb */ color: rgb(147, 53, 197);
/* oklch */ color: oklch(53.1% 0.216 310.9);
Tailwind
colors: {
  custom: {
    50: '#b775d7',
    500: '#9335c5',
    950: '#000000',
  },
}
SCSS
$custom: #9335c5;
$custom-light: #b775d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9335c5",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 279.167,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.21575,
    "h": 310.9
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#9335C5
secondary
#A1CD89
accent
#E1477C
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9335C5

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

Preview Lab → · Contrast checker → · Palette generator →

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