#9F2AAF#9F2AAF

#9F2AAF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.213 H 322.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9F2AAF
RGBrgb(159, 42, 175)
HSLhsl(293, 61%, 43%)
HSVhsv(293, 76%, 69%)
CMYKcmyk(9.1%, 76%, 0%, 31.4%)
CIE-LABlab(41.41, 63.50, -46.24)
CIE-LCHlch(41.41, 78.55, 323.94°)
OKLaboklab(52.29% 0.1688 -0.1293)
OKLCHoklch(52.29% 0.213 322.5)
XYZxyz(22.8631, 12.1233, 41.6849)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AAF #3AAF2A
analogous
#5D2AAF #9F2AAF #AF2A7C
triadic
#9F2AAF #AF9F2A #2AAF9F
tetradic
#9F2AAF #AF5D2A #3AAF2A #2A7CAF
square
#9F2AAF #AF5D2A #3AAF2A #2A7CAF
split-complementary
#9F2AAF #7CAF2A #2AAF5D
monochromatic
#45124C #721E7E #9F2AAF #C144D2 #D175DE

Accessibility & contrast

On white

6.13
#9F2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9F2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AAF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AAF#FFFFFF#000000##FFFFFF
##9F2AAF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#A1446B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2aaf;
/* rgb */ color: rgb(159, 42, 175);
/* oklch */ color: oklch(52.3% 0.213 322.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c7',
    500: '#9f2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9f2aaf;
$custom-light: #bf71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2aaf",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 292.782,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.21259,
    "h": 322.5
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#9F2AAF
secondary
#7AC66F
accent
#E44357
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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