#9535CA#9535CA

#9535CA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.221 H 310.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9535CA
RGBrgb(149, 53, 202)
HSLhsl(279, 58%, 50%)
HSVhsv(279, 74%, 79%)
CMYKcmyk(26.2%, 73.8%, 0%, 20.8%)
CIE-LABlab(43.06, 62.87, -59.48)
CIE-LCHlch(43.06, 86.55, 316.59°)
OKLaboklab(53.73% 0.1431 -0.1685)
OKLCHoklch(53.73% 0.221 310.3)
XYZxyz(24.3261, 13.2006, 57.1322)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535CA #6ACA35
analogous
#4B35CA #9535CA #CA35B4
triadic
#9535CA #CA9535 #35CA95
tetradic
#9535CA #CA4B35 #6ACA35 #35B4CA
square
#9535CA #CA4B35 #6ACA35 #35B4CA
split-complementary
#9535CA #B4CA35 #35CA4B
monochromatic
#4D1C69 #71289A #9535CA #AE65D7 #C896E3

Accessibility & contrast

On white

5.77
#9535CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9535CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535CA#FFFFFF#000000##FFFFFF
##9535CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#1367C7
Tritanopia (blue-blind)
#8E587D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9535ca;
/* rgb */ color: rgb(149, 53, 202);
/* oklch */ color: oklch(53.7% 0.221 310.3);
Tailwind
colors: {
  custom: {
    50: '#b976db',
    500: '#9535ca',
    950: '#000000',
  },
}
SCSS
$custom: #9535ca;
$custom-light: #b976db;
$custom-dark: #000000;
JSON
{
  "hex": "#9535ca",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 278.658,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.22105,
    "h": 310.3
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#9535CA
secondary
#A4CF8C
accent
#E2467D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9535CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9535CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva