#9335AF#9335AF

#9335AF is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.195 H 317.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9335AF
RGBrgb(147, 53, 175)
HSLhsl(286, 54%, 45%)
HSVhsv(286, 70%, 69%)
CMYKcmyk(16%, 69.7%, 0%, 31.4%)
CIE-LABlab(40.97, 56.92, -47.05)
CIE-LCHlch(40.97, 73.85, 320.42°)
OKLaboklab(51.6% 0.1437 -0.1321)
OKLCHoklch(51.6% 0.195 317.4)
XYZxyz(21.0425, 11.8453, 41.7271)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335AF #51AF35
analogous
#5635AF #9335AF #AF358E
triadic
#9335AF #AF9335 #35AF93
tetradic
#9335AF #AF5635 #51AF35 #358EAF
square
#9335AF #AF5635 #51AF35 #358EAF
split-complementary
#9335AF #8EAF35 #35AF56
monochromatic
#441951 #6C2780 #9335AF #B156CC #C685DA

Accessibility & contrast

On white

6.23
#9335AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9335AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335AF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335AF#FFFFFF#000000##FFFFFF
##9335AF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#924D6E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9335af;
/* rgb */ color: rgb(147, 53, 175);
/* oklch */ color: oklch(51.6% 0.195 317.4);
Tailwind
colors: {
  custom: {
    50: '#b674c7',
    500: '#9335af',
    950: '#000000',
  },
}
SCSS
$custom: #9335af;
$custom-light: #b674c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9335af",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 286.23,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.1952,
    "h": 317.4
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#9335AF
secondary
#8DC47C
accent
#DD4B6C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9335AF

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

Preview Lab → · Contrast checker → · Palette generator →

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