#9F2EB5#9F2EB5

#9F2EB5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.213 H 320.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9F2EB5
RGBrgb(159, 46, 181)
HSLhsl(290, 59%, 45%)
HSVhsv(290, 75%, 71%)
CMYKcmyk(12.2%, 74.6%, 0%, 29%)
CIE-LABlab(42.25, 63.25, -48.44)
CIE-LCHlch(42.25, 79.67, 322.55°)
OKLaboklab(53.01% 0.1647 -0.1357)
OKLCHoklch(53.01% 0.213 320.5)
XYZxyz(23.6146, 12.6624, 44.9073)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EB5 #44B52E
analogous
#5C2EB5 #9F2EB5 #B52E88
triadic
#9F2EB5 #B59F2E #2EB59F
tetradic
#9F2EB5 #B55C2E #44B52E #2E88B5
square
#9F2EB5 #B55C2E #44B52E #2E88B5
split-complementary
#9F2EB5 #88B52E #2EB55C
monochromatic
#491553 #742284 #9F2EB5 #BD4ED2 #CF7FDE

Accessibility & contrast

On white

5.95
#9F2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9F2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EB5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EB5#FFFFFF#000000##FFFFFF
##9F2EB51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3C68B2
Tritanopia (blue-blind)
#A04970
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2eb5;
/* rgb */ color: rgb(159, 46, 181);
/* oklch */ color: oklch(53.0% 0.213 320.5);
Tailwind
colors: {
  custom: {
    50: '#bf73cc',
    500: '#9f2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eb5;
$custom-light: #bf73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eb5",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 290.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.21343,
    "h": 320.5
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#9F2EB5
secondary
#85C778
accent
#E3455F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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