#9F33A5#9F33A5

#9F33A5 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.194 H 325.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9F33A5
RGBrgb(159, 51, 165)
HSLhsl(297, 53%, 42%)
HSVhsv(297, 69%, 65%)
CMYKcmyk(3.6%, 69.1%, 0%, 35.3%)
CIE-LABlab(41.93, 58.55, -39.46)
CIE-LCHlch(41.93, 70.60, 326.02°)
OKLaboklab(52.47% 0.1604 -0.1096)
OKLCHoklch(52.47% 0.194 325.7)
XYZxyz(22.2730, 12.4566, 36.8212)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F33A5 #39A533
analogous
#6633A5 #9F33A5 #A53372
triadic
#9F33A5 #A59F33 #33A59F
tetradic
#9F33A5 #A56633 #39A533 #3372A5
square
#9F33A5 #A56633 #39A533 #3372A5
split-complementary
#9F33A5 #72A533 #33A566
monochromatic
#451648 #722576 #9F33A5 #C24DC8 #D27CD6

Accessibility & contrast

On white

6.02
#9F33A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9F33A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F33A5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F33A5#FFFFFF#000000##FFFFFF
##9F33A51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#A34568
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f33a5;
/* rgb */ color: rgb(159, 51, 165);
/* oklch */ color: oklch(52.5% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#bf74c0',
    500: '#9f33a5',
    950: '#000000',
  },
}
SCSS
$custom: #9f33a5;
$custom-light: #bf74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f33a5",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 296.842,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.19427,
    "h": 325.7
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#9F33A5
secondary
#78BF75
accent
#DC4C53
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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