#9F2EB3#9F2EB3

#9F2EB3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.212 H 321.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2EB3
RGBrgb(159, 46, 179)
HSLhsl(291, 59%, 44%)
HSVhsv(291, 74%, 70%)
CMYKcmyk(11.2%, 74.3%, 0%, 29.8%)
CIE-LABlab(42.12, 62.88, -47.46)
CIE-LCHlch(42.12, 78.78, 322.96°)
OKLaboklab(52.88% 0.1649 -0.1329)
OKLCHoklch(52.88% 0.212 321.1)
XYZxyz(23.4108, 12.5809, 43.8343)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EB3 #42B32E
analogous
#5C2EB3 #9F2EB3 #B32E85
triadic
#9F2EB3 #B39F2E #2EB39F
tetradic
#9F2EB3 #B35C2E #42B32E #2E85B3
square
#9F2EB3 #B35C2E #42B32E #2E85B3
split-complementary
#9F2EB3 #85B32E #2EB35C
monochromatic
#491552 #742182 #9F2EB3 #BD4DD1 #CF7EDE

Accessibility & contrast

On white

5.97
#9F2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EB3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EB3#FFFFFF#000000##FFFFFF
##9F2EB31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#A0486F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2eb3;
/* rgb */ color: rgb(159, 46, 179);
/* oklch */ color: oklch(52.9% 0.212 321.1);
Tailwind
colors: {
  custom: {
    50: '#bf73ca',
    500: '#9f2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eb3;
$custom-light: #bf73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eb3",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 290.977,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.21174,
    "h": 321.1
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#9F2EB3
secondary
#82C676
accent
#E2465D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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