#9535CC#9535CC

#9535CC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.9% C 0.223 H 309.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9535CC
RGBrgb(149, 53, 204)
HSLhsl(278, 60%, 50%)
HSVhsv(278, 74%, 80%)
CMYKcmyk(27%, 74%, 0%, 20%)
CIE-LABlab(43.21, 63.29, -60.41)
CIE-LCHlch(43.21, 87.49, 316.34°)
OKLaboklab(53.87% 0.1427 -0.1712)
OKLCHoklch(53.87% 0.223 309.8)
XYZxyz(24.5644, 13.2959, 58.3874)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535CC #6CCC35
analogous
#4A35CC #9535CC #CC35B7
triadic
#9535CC #CC9535 #35CC95
tetradic
#9535CC #CC4A35 #6CCC35 #35B7CC
square
#9535CC #CC4A35 #6CCC35 #35B7CC
split-complementary
#9535CC #B7CC35 #35CC4A
monochromatic
#4E1B6B #72279C #9535CC #AF66D8 #C897E5

Accessibility & contrast

On white

5.74
#9535CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9535CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535CC#FFFFFF#000000##FFFFFF
##9535CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0B67C9
Tritanopia (blue-blind)
#8D587E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9535cc;
/* rgb */ color: rgb(149, 53, 204);
/* oklch */ color: oklch(53.9% 0.223 309.8);
Tailwind
colors: {
  custom: {
    50: '#b976dc',
    500: '#9535cc',
    950: '#000000',
  },
}
SCSS
$custom: #9535cc;
$custom-light: #b976dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9535cc",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 278.146,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.22292,
    "h": 309.8
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#9535CC
secondary
#A5D08D
accent
#E3457E
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9535CC

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

Preview Lab → · Contrast checker → · Palette generator →

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