#9F2EA0#9F2EA0

#9F2EA0 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.196 H 327.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9F2EA0
RGBrgb(159, 46, 160)
HSLhsl(299, 55%, 40%)
HSVhsv(299, 71%, 63%)
CMYKcmyk(0.6%, 71.2%, 0%, 37.3%)
CIE-LABlab(41.00, 59.53, -37.94)
CIE-LCHlch(41.00, 70.59, 327.49°)
OKLaboklab(51.71% 0.1656 -0.1051)
OKLCHoklch(51.71% 0.196 327.6)
XYZxyz(21.6199, 11.8645, 34.4022)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EA0 #2FA02E
analogous
#662EA0 #9F2EA0 #A02E68
triadic
#9F2EA0 #A09F2E #2EA09F
tetradic
#9F2EA0 #A0662E #2FA02E #2E68A0
square
#9F2EA0 #A0662E #2FA02E #2E68A0
split-complementary
#9F2EA0 #68A02E #2EA066
monochromatic
#411341 #702070 #9F2EA0 #C842C9 #D672D6

Accessibility & contrast

On white

6.23
#9F2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9F2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EA0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EA0#FFFFFF#000000##FFFFFF
##9F2EA01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#4B669D
Tritanopia (blue-blind)
#A43F64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ea0;
/* rgb */ color: rgb(159, 46, 160);
/* oklch */ color: oklch(51.7% 0.196 327.6);
Tailwind
colors: {
  custom: {
    50: '#bf72bc',
    500: '#9f2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ea0;
$custom-light: #bf72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ea0",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 299.474,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.19613,
    "h": 327.6
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#9F2EA0
secondary
#6DBE6C
accent
#DF494A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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