#9F2FA8#9F2FA8

#9F2FA8 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.201 H 324.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9F2FA8
RGBrgb(159, 47, 168)
HSLhsl(296, 56%, 42%)
HSVhsv(296, 72%, 66%)
CMYKcmyk(5.4%, 72%, 0%, 34.1%)
CIE-LABlab(41.58, 60.56, -41.80)
CIE-LCHlch(41.58, 73.58, 325.38°)
OKLaboklab(52.28% 0.1645 -0.1164)
OKLCHoklch(52.28% 0.201 324.7)
XYZxyz(22.3819, 12.2325, 38.2204)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FA8 #38A82F
analogous
#622FA8 #9F2FA8 #A82F75
triadic
#9F2FA8 #A89F2F #2FA89F
tetradic
#9F2FA8 #A8622F #38A82F #2F75A8
square
#9F2FA8 #A8622F #38A82F #2F75A8
split-complementary
#9F2FA8 #75A82F #2FA862
monochromatic
#441448 #722278 #9F2FA8 #C248CC #D278D9

Accessibility & contrast

On white

6.09
#9F2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9F2FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FA8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FA8#FFFFFF#000000##FFFFFF
##9F2FA81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0859AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#A24469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2fa8;
/* rgb */ color: rgb(159, 47, 168);
/* oklch */ color: oklch(52.3% 0.201 324.7);
Tailwind
colors: {
  custom: {
    50: '#bf73c2',
    500: '#9f2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fa8;
$custom-light: #bf73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fa8",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 295.537,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.20149,
    "h": 324.7
  },
  "luminance": 0.12231
}

Semantic roles & 50–950 ramp

primary
#9F2FA8
secondary
#77C171
accent
#E04853
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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