#9F3FA2#9F3FA2

#9F3FA2 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.176 H 326.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9F3FA2
RGBrgb(159, 63, 162)
HSLhsl(298, 44%, 44%)
HSVhsv(298, 61%, 64%)
CMYKcmyk(1.9%, 61.1%, 0%, 36.5%)
CIE-LABlab(43.56, 53.02, -35.09)
CIE-LCHlch(43.56, 63.58, 326.50°)
OKLaboklab(53.6% 0.1464 -0.097)
OKLCHoklch(53.6% 0.176 326.5)
XYZxyz(22.5967, 13.5360, 35.5979)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FA2 #42A23F
analogous
#6E3FA2 #9F3FA2 #A23F74
triadic
#9F3FA2 #A29F3F #3FA29F
tetradic
#9F3FA2 #A26E3F #42A23F #3F74A2
square
#9F3FA2 #A26E3F #42A23F #3F74A2
split-complementary
#9F3FA2 #74A23F #3FA26E
monochromatic
#491D4A #742E76 #9F3FA2 #BD5EC0 #CF8AD1

Accessibility & contrast

On white

5.66
#9F3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9F3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FA2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FA2#FFFFFF#000000##FFFFFF
##9F3FA21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#546B9F
Tritanopia (blue-blind)
#A34C6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3fa2;
/* rgb */ color: rgb(159, 63, 162);
/* oklch */ color: oklch(53.6% 0.176 326.5);
Tailwind
colors: {
  custom: {
    50: '#be7abe',
    500: '#9f3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fa2;
$custom-light: #be7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fa2",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 298.182,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.17559,
    "h": 326.5
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#9F3FA2
secondary
#82BC81
accent
#D45458
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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