#9F2EA3#9F2EA3

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

Color values

HEX#9F2EA3
RGBrgb(159, 46, 163)
HSLhsl(298, 56%, 41%)
HSVhsv(298, 72%, 64%)
CMYKcmyk(2.5%, 71.8%, 0%, 36.1%)
CIE-LABlab(41.17, 60.04, -39.47)
CIE-LCHlch(41.17, 71.85, 326.68°)
OKLaboklab(51.89% 0.1656 -0.1096)
OKLCHoklch(51.89% 0.199 326.5)
XYZxyz(21.8855, 11.9707, 35.8011)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EA3 #32A32E
analogous
#642EA3 #9F2EA3 #A32E6C
triadic
#9F2EA3 #A39F2E #2EA39F
tetradic
#9F2EA3 #A3642E #32A32E #2E6CA3
square
#9F2EA3 #A3642E #32A32E #2E6CA3
split-complementary
#9F2EA3 #6CA32E #2EA364
monochromatic
#421344 #702173 #9F2EA3 #C644CA #D474D8

Accessibility & contrast

On white

6.19
#9F2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EA3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EA3#FFFFFF#000000##FFFFFF
##9F2EA31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A6
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#A34166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ea3;
/* rgb */ color: rgb(159, 46, 163);
/* oklch */ color: oklch(51.9% 0.199 326.5);
Tailwind
colors: {
  custom: {
    50: '#bf72bf',
    500: '#9f2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ea3;
$custom-light: #bf72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ea3",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 297.949,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51887,
    "c": 0.19854,
    "h": 326.5
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#9F2EA3
secondary
#70BF6D
accent
#DF494E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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