#9335C8#9335C8

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

Color values

HEX#9335C8
RGBrgb(147, 53, 200)
HSLhsl(278, 58%, 50%)
HSVhsv(278, 74%, 78%)
CMYKcmyk(26.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(42.64, 62.07, -59.02)
CIE-LCHlch(42.64, 85.64, 316.44°)
OKLaboklab(53.33% 0.1408 -0.1672)
OKLCHoklch(53.33% 0.219 310.1)
XYZxyz(23.7290, 12.9199, 55.8762)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9335C8 #6AC835
analogous
#4935C8 #9335C8 #C835B4
triadic
#9335C8 #C89335 #35C893
tetradic
#9335C8 #C84935 #6AC835 #35B4C8
square
#9335C8 #C84935 #6AC835 #35B4C8
split-complementary
#9335C8 #B4C835 #35C849
monochromatic
#4C1B67 #6F2898 #9335C8 #AD64D6 #C795E3

Accessibility & contrast

On white

5.86
#9335C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9335C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9335C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9335C8#FFFFFF#000000##FFFFFF
##9335C81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#1266C5
Tritanopia (blue-blind)
#8C577C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9335c8;
/* rgb */ color: rgb(147, 53, 200);
/* oklch */ color: oklch(53.3% 0.219 310.1);
Tailwind
colors: {
  custom: {
    50: '#b875da',
    500: '#9335c8',
    950: '#000000',
  },
}
SCSS
$custom: #9335c8;
$custom-light: #b875da;
$custom-dark: #000000;
JSON
{
  "hex": "#9335c8",
  "rgb": {
    "r": 147,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 278.367,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.21858,
    "h": 310.1
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#9335C8
secondary
#A3CE8B
accent
#E1467E
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9335C8

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

Preview Lab → · Contrast checker → · Palette generator →

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