#9F35D1#9F35D1

#9F35D1 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.230 H 312.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F35D1
RGBrgb(159, 53, 209)
HSLhsl(281, 63%, 51%)
HSVhsv(281, 75%, 82%)
CMYKcmyk(23.9%, 74.6%, 0%, 18%)
CIE-LABlab(44.97, 66.19, -60.37)
CIE-LCHlch(44.97, 89.58, 317.63°)
OKLaboklab(55.52% 0.1548 -0.1708)
OKLCHoklch(55.52% 0.23 312.2)
XYZxyz(27.0777, 14.5213, 61.6857)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35D1 #67D135
analogous
#5135D1 #9F35D1 #D135B5
triadic
#9F35D1 #D19F35 #35D19F
tetradic
#9F35D1 #D15135 #67D135 #35B5D1
square
#9F35D1 #D15135 #67D135 #35B5D1
split-complementary
#9F35D1 #B5D135 #35D151
monochromatic
#561A72 #7B25A4 #9F35D1 #B767DC #CE99E8

Accessibility & contrast

On white

5.38
#9F35D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9F35D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35D1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35D1#FFFFFF#000000##FFFFFF
##9F35D11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#1E6CCE
Tritanopia (blue-blind)
#995981
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f35d1;
/* rgb */ color: rgb(159, 53, 209);
/* oklch */ color: oklch(55.5% 0.230 312.2);
Tailwind
colors: {
  custom: {
    50: '#c077e0',
    500: '#9f35d1',
    950: '#000000',
  },
}
SCSS
$custom: #9f35d1;
$custom-light: #c077e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35d1",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 209
  },
  "hsl": {
    "h": 280.769,
    "s": 62.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.23048,
    "h": 312.2
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#9F35D1
secondary
#A5D38F
accent
#E64276
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F35D1

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

Preview Lab → · Contrast checker → · Palette generator →

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