#9F35D2#9F35D2

#9F35D2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.231 H 311.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F35D2
RGBrgb(159, 53, 210)
HSLhsl(281, 64%, 52%)
HSVhsv(281, 75%, 82%)
CMYKcmyk(24.3%, 74.8%, 0%, 17.6%)
CIE-LABlab(45.04, 66.39, -60.83)
CIE-LCHlch(45.04, 90.05, 317.50°)
OKLaboklab(55.59% 0.1546 -0.1721)
OKLCHoklch(55.59% 0.231 311.9)
XYZxyz(27.2019, 14.5710, 62.3398)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35D2 #68D235
analogous
#5135D2 #9F35D2 #D235B6
triadic
#9F35D2 #D29F35 #35D29F
tetradic
#9F35D2 #D25135 #68D235 #35B6D2
square
#9F35D2 #D25135 #68D235 #35B6D2
split-complementary
#9F35D2 #B6D235 #35D251
monochromatic
#561A73 #7B25A5 #9F35D2 #B767DD #CF99E8

Accessibility & contrast

On white

5.37
#9F35D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9F35D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35D2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35D2#FFFFFF#000000##FFFFFF
##9F35D21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#1B6DCF
Tritanopia (blue-blind)
#995A82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f35d2;
/* rgb */ color: rgb(159, 53, 210);
/* oklch */ color: oklch(55.6% 0.231 311.9);
Tailwind
colors: {
  custom: {
    50: '#c077e1',
    500: '#9f35d2',
    950: '#000000',
  },
}
SCSS
$custom: #9f35d2;
$custom-light: #c077e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35d2",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 280.51,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.23138,
    "h": 311.9
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#9F35D2
secondary
#A5D48F
accent
#E74177
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F35D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9F35D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva