#9F2FA3#9F2FA3

#9F2FA3 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 52.0% C 0.197 H 326.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F2FA3
RGBrgb(159, 47, 163)
HSLhsl(298, 55%, 41%)
HSVhsv(298, 71%, 64%)
CMYKcmyk(2.5%, 71.2%, 0%, 36.1%)
CIE-LABlab(41.30, 59.68, -39.27)
CIE-LCHlch(41.30, 71.45, 326.65°)
OKLaboklab(51.98% 0.1646 -0.109)
OKLCHoklch(51.98% 0.197 326.5)
XYZxyz(21.9250, 12.0498, 35.8143)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FA3 #33A32F
analogous
#652FA3 #9F2FA3 #A32F6D
triadic
#9F2FA3 #A39F2F #2FA39F
tetradic
#9F2FA3 #A3652F #33A32F #2F6DA3
square
#9F2FA3 #A3652F #33A32F #2F6DA3
split-complementary
#9F2FA3 #6DA32F #2FA365
monochromatic
#421444 #712173 #9F2FA3 #C546CA #D475D7

Accessibility & contrast

On white

6.16
#9F2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9F2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FA3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FA3#FFFFFF#000000##FFFFFF
##9F2FA31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#A34166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2fa3;
/* rgb */ color: rgb(159, 47, 163);
/* oklch */ color: oklch(52.0% 0.197 326.5);
Tailwind
colors: {
  custom: {
    50: '#bf72bf',
    500: '#9f2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fa3;
$custom-light: #bf72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fa3",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 297.931,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.19739,
    "h": 326.5
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#9F2FA3
secondary
#71BF6F
accent
#DF494E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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