#9535CD#9535CD

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

Color values

HEX#9535CD
RGBrgb(149, 53, 205)
HSLhsl(278, 60%, 51%)
HSVhsv(278, 74%, 80%)
CMYKcmyk(27.3%, 74.1%, 0%, 19.6%)
CIE-LABlab(43.28, 63.50, -60.87)
CIE-LCHlch(43.28, 87.96, 316.21°)
OKLaboklab(53.94% 0.1426 -0.1726)
OKLCHoklch(53.94% 0.224 309.6)
XYZxyz(24.6848, 13.3440, 59.0211)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9535CD #6DCD35
analogous
#4935CD #9535CD #CD35B9
triadic
#9535CD #CD9535 #35CD95
tetradic
#9535CD #CD4935 #6DCD35 #35B9CD
square
#9535CD #CD4935 #6DCD35 #35B9CD
split-complementary
#9535CD #B9CD35 #35CD49
monochromatic
#4F1B6D #72279E #9535CD #AF66D9 #C897E5

Accessibility & contrast

On white

5.72
#9535CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9535CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9535CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9535CD#FFFFFF#000000##FFFFFF
##9535CD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9535cd;
/* rgb */ color: rgb(149, 53, 205);
/* oklch */ color: oklch(53.9% 0.224 309.6);
Tailwind
colors: {
  custom: {
    50: '#b976dd',
    500: '#9535cd',
    950: '#000000',
  },
}
SCSS
$custom: #9535cd;
$custom-light: #b976dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9535cd",
  "rgb": {
    "r": 149,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 277.895,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.22385,
    "h": 309.6
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#9535CD
secondary
#A6D18D
accent
#E3447F
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9535CD

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

Preview Lab → · Contrast checker → · Palette generator →

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