#9335CF#9335CF

#9335CF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.225 H 308.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9335CF
RGBrgb(147, 53, 207)
HSLhsl(277, 62%, 51%)
HSVhsv(277, 74%, 81%)
CMYKcmyk(29%, 74.4%, 0%, 18.8%)
CIE-LABlab(43.14, 63.56, -62.25)
CIE-LCHlch(43.14, 88.97, 315.60°)
OKLaboklab(53.84% 0.1396 -0.1767)
OKLCHoklch(53.84% 0.225 308.3)
XYZxyz(24.5659, 13.2546, 60.2837)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335CF #71CF35
analogous
#4635CF #9335CF #CF35BE
triadic
#9335CF #CF9335 #35CF93
tetradic
#9335CF #CF4635 #71CF35 #35BECF
square
#9335CF #CF4635 #71CF35 #35BECF
split-complementary
#9335CF #BECF35 #35CF46
monochromatic
#4E1A6F #7126A1 #9335CF #AD66DB #C898E7

Accessibility & contrast

On white

5.75
#9335CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9335CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335CF#FFFFFF#000000##FFFFFF
##9335CF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#895A80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9335cf;
/* rgb */ color: rgb(147, 53, 207);
/* oklch */ color: oklch(53.8% 0.225 308.3);
Tailwind
colors: {
  custom: {
    50: '#b876df',
    500: '#9335cf',
    950: '#000000',
  },
}
SCSS
$custom: #9335cf;
$custom-light: #b876df;
$custom-dark: #000000;
JSON
{
  "hex": "#9335cf",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 276.623,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.22518,
    "h": 308.3
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#9335CF
secondary
#A8D28E
accent
#E54382
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9335CF

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

Preview Lab → · Contrast checker → · Palette generator →

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