#9F35CC#9F35CC

#9F35CC is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.226 H 313.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9F35CC
RGBrgb(159, 53, 204)
HSLhsl(282, 60%, 50%)
HSVhsv(282, 74%, 80%)
CMYKcmyk(22.1%, 74%, 0%, 20%)
CIE-LABlab(44.63, 65.18, -58.04)
CIE-LCHlch(44.63, 87.28, 318.32°)
OKLaboklab(55.17% 0.1556 -0.1639)
OKLCHoklch(55.17% 0.226 313.5)
XYZxyz(26.4684, 14.2776, 58.4766)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F35CC #62CC35
analogous
#5335CC #9F35CC #CC35AE
triadic
#9F35CC #CC9F35 #35CC9F
tetradic
#9F35CC #CC5335 #62CC35 #35AECC
square
#9F35CC #CC5335 #62CC35 #35AECC
split-complementary
#9F35CC #AECC35 #35CC53
monochromatic
#541B6B #7A279C #9F35CC #B666D8 #CD97E5

Accessibility & contrast

On white

5.45
#9F35CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9F35CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F35CC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F35CC#FFFFFF#000000##FFFFFF
##9F35CC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#9A577E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f35cc;
/* rgb */ color: rgb(159, 53, 204);
/* oklch */ color: oklch(55.2% 0.226 313.5);
Tailwind
colors: {
  custom: {
    50: '#c077dc',
    500: '#9f35cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f35cc;
$custom-light: #c077dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f35cc",
  "rgb": {
    "r": 159,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 282.119,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.22599,
    "h": 313.5
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#9F35CC
secondary
#A1D08D
accent
#E34574
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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