#9536CC#9536CC

#9536CC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.222 H 309.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9536CC
RGBrgb(149, 54, 204)
HSLhsl(278, 60%, 51%)
HSVhsv(278, 74%, 80%)
CMYKcmyk(27%, 73.5%, 0%, 20%)
CIE-LABlab(43.34, 62.90, -60.19)
CIE-LCHlch(43.34, 87.06, 316.26°)
OKLaboklab(53.97% 0.1418 -0.1706)
OKLCHoklch(53.97% 0.222 309.7)
XYZxyz(24.6105, 13.3880, 58.4027)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9536CC #6DCC36
analogous
#4A36CC #9536CC #CC36B8
triadic
#9536CC #CC9536 #36CC95
tetradic
#9536CC #CC4A36 #6DCC36 #36B8CC
square
#9536CC #CC4A36 #6DCC36 #36B8CC
split-complementary
#9536CC #B8CC36 #36CC4A
monochromatic
#4F1B6C #72289D #9536CC #AF67D8 #C898E5

Accessibility & contrast

On white

5.71
#9536CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9536CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9536CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9536CC#FFFFFF#000000##FFFFFF
##9536CC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9536cc;
/* rgb */ color: rgb(149, 54, 204);
/* oklch */ color: oklch(54.0% 0.222 309.7);
Tailwind
colors: {
  custom: {
    50: '#b976dc',
    500: '#9536cc',
    950: '#000000',
  },
}
SCSS
$custom: #9536cc;
$custom-light: #b976dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9536cc",
  "rgb": {
    "r": 149,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 278,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.22184,
    "h": 309.7
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#9536CC
secondary
#A6D08E
accent
#E3457F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9536CC

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

Preview Lab → · Contrast checker → · Palette generator →

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