#9F2FAA#9F2FAA

#9F2FAA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.203 H 324.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F2FAA
RGBrgb(159, 47, 170)
HSLhsl(295, 57%, 43%)
HSVhsv(295, 72%, 67%)
CMYKcmyk(6.5%, 72.4%, 0%, 33.3%)
CIE-LABlab(41.70, 60.91, -42.81)
CIE-LCHlch(41.70, 74.45, 324.90°)
OKLaboklab(52.4% 0.1644 -0.1193)
OKLCHoklch(52.4% 0.203 324)
XYZxyz(22.5697, 12.3076, 39.2092)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FAA #3AAA2F
analogous
#612FAA #9F2FAA #AA2F78
triadic
#9F2FAA #AA9F2F #2FAA9F
tetradic
#9F2FAA #AA612F #3AAA2F #2F78AA
square
#9F2FAA #AA612F #3AAA2F #2F78AA
split-complementary
#9F2FAA #78AA2F #2FAA61
monochromatic
#45144A #72227A #9F2FAA #C149CD #D179DA

Accessibility & contrast

On white

6.07
#9F2FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9F2FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FAA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FAA#FFFFFF#000000##FFFFFF
##9F2FAA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#A2446A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2faa;
/* rgb */ color: rgb(159, 47, 170);
/* oklch */ color: oklch(52.4% 0.203 324.0);
Tailwind
colors: {
  custom: {
    50: '#bf73c4',
    500: '#9f2faa',
    950: '#000000',
  },
}
SCSS
$custom: #9f2faa;
$custom-light: #bf73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2faa",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 294.634,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.20314,
    "h": 324
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#9F2FAA
secondary
#7AC272
accent
#E04855
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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