#9F4FA2#9F4FA2

#9F4FA2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.7% C 0.151 H 326.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9F4FA2
RGBrgb(159, 79, 162)
HSLhsl(298, 34%, 47%)
HSVhsv(298, 51%, 64%)
CMYKcmyk(1.9%, 51.2%, 0%, 36.5%)
CIE-LABlab(46.41, 45.33, -30.61)
CIE-LCHlch(46.41, 54.70, 325.96°)
OKLaboklab(55.68% 0.1249 -0.0842)
OKLCHoklch(55.68% 0.151 326)
XYZxyz(23.6152, 15.5728, 35.9374)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FA2 #52A24F
analogous
#754FA2 #9F4FA2 #A24F7C
triadic
#9F4FA2 #A29F4F #4FA29F
tetradic
#9F4FA2 #A2754F #52A24F #4F7CA2
square
#9F4FA2 #A2754F #52A24F #4F7CA2
split-complementary
#9F4FA2 #7CA24F #4FA275
monochromatic
#4E2750 #773B79 #9F4FA2 #B873BB #CD9CCF

Accessibility & contrast

On white

5.10
#9F4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9F4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4FA2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FA2#FFFFFF#000000##FFFFFF
##9F4FA21.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#A35971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f4fa2;
/* rgb */ color: rgb(159, 79, 162);
/* oklch */ color: oklch(55.7% 0.151 326.0);
Tailwind
colors: {
  custom: {
    50: '#bd84be',
    500: '#9f4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fa2;
$custom-light: #bd84be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fa2",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 297.831,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.15059,
    "h": 326
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#9F4FA2
secondary
#93BC91
accent
#CB5D61
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9F4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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