#9F2EA5#9F2EA5

#9F2EA5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9F2EA5
RGBrgb(159, 46, 165)
HSLhsl(297, 56%, 41%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(3.6%, 72.1%, 0%, 35.3%)
CIE-LABlab(41.28, 60.39, -40.49)
CIE-LCHlch(41.28, 72.70, 326.16°)
OKLaboklab(52.01% 0.1655 -0.1125)
OKLCHoklch(52.01% 0.2 325.8)
XYZxyz(22.0661, 12.0430, 36.7523)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EA5 #34A52E
analogous
#642EA5 #9F2EA5 #A52E70
triadic
#9F2EA5 #A59F2E #2EA59F
tetradic
#9F2EA5 #A5642E #34A52E #2E70A5
square
#9F2EA5 #A5642E #34A52E #2E70A5
split-complementary
#9F2EA5 #70A52E #2EA564
monochromatic
#431345 #712175 #9F2EA5 #C445CB #D375D8

Accessibility & contrast

On white

6.16
#9F2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9F2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EA5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EA5#FFFFFF#000000##FFFFFF
##9F2EA51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A8
Deuteranopia (green-blind)
#4866A2
Tritanopia (blue-blind)
#A34267
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ea5;
/* rgb */ color: rgb(159, 46, 165);
/* oklch */ color: oklch(52.0% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#bf72c0',
    500: '#9f2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ea5;
$custom-light: #bf72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ea5",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 296.975,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.20016,
    "h": 325.8
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#9F2EA5
secondary
#73C06F
accent
#E04850
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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