#9335CD#9335CD

#9335CD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.223 H 308.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9335CD
RGBrgb(147, 53, 205)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 74%, 80%)
CMYKcmyk(28.3%, 74.1%, 0%, 19.6%)
CIE-LABlab(43.00, 63.13, -61.33)
CIE-LCHlch(43.00, 88.02, 315.83°)
OKLaboklab(53.69% 0.1399 -0.174)
OKLCHoklch(53.69% 0.223 308.8)
XYZxyz(24.3229, 13.1575, 59.0041)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335CD #6FCD35
analogous
#4735CD #9335CD #CD35BB
triadic
#9335CD #CD9335 #35CD93
tetradic
#9335CD #CD4735 #6FCD35 #35BBCD
square
#9335CD #CD4735 #6FCD35 #35BBCD
split-complementary
#9335CD #BBCD35 #35CD47
monochromatic
#4D1B6D #70279E #9335CD #AD66D9 #C797E5

Accessibility & contrast

On white

5.78
#9335CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9335CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335CD#FFFFFF#000000##FFFFFF
##9335CD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#8A597F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9335cd;
/* rgb */ color: rgb(147, 53, 205);
/* oklch */ color: oklch(53.7% 0.223 308.8);
Tailwind
colors: {
  custom: {
    50: '#b875dd',
    500: '#9335cd',
    950: '#000000',
  },
}
SCSS
$custom: #9335cd;
$custom-light: #b875dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9335cd",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 277.105,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.2233,
    "h": 308.8
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#9335CD
secondary
#A7D18D
accent
#E34481
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9335CD

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

Preview Lab → · Contrast checker → · Palette generator →

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