#9335C7#9335C7

#9335C7 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.218 H 310.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9335C7
RGBrgb(147, 53, 199)
HSLhsl(279, 58%, 49%)
HSVhsv(279, 73%, 78%)
CMYKcmyk(26.1%, 73.4%, 0%, 22%)
CIE-LABlab(42.57, 61.86, -58.55)
CIE-LCHlch(42.57, 85.17, 316.57°)
OKLaboklab(53.25% 0.141 -0.1658)
OKLCHoklch(53.25% 0.218 310.4)
XYZxyz(23.6125, 12.8733, 55.2627)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335C7 #69C735
analogous
#4A35C7 #9335C7 #C735B2
triadic
#9335C7 #C79335 #35C793
tetradic
#9335C7 #C74A35 #69C735 #35B2C7
square
#9335C7 #C74A35 #69C735 #35B2C7
split-complementary
#9335C7 #B2C735 #35C74A
monochromatic
#4C1B66 #6F2897 #9335C7 #AD64D6 #C794E2

Accessibility & contrast

On white

5.87
#9335C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9335C7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335C7#FFFFFF#000000##FFFFFF
##9335C71.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#1566C4
Tritanopia (blue-blind)
#8C577B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9335c7;
/* rgb */ color: rgb(147, 53, 199);
/* oklch */ color: oklch(53.3% 0.218 310.4);
Tailwind
colors: {
  custom: {
    50: '#b775d9',
    500: '#9335c7',
    950: '#000000',
  },
}
SCSS
$custom: #9335c7;
$custom-light: #b775d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9335c7",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 278.63,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.21764,
    "h": 310.4
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#9335C7
secondary
#A2CE8A
accent
#E1477E
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9335C7

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

Preview Lab → · Contrast checker → · Palette generator →

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