#9F2EAF#9F2EAF

#9F2EAF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.208 H 322.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9F2EAF
RGBrgb(159, 46, 175)
HSLhsl(293, 58%, 43%)
HSVhsv(293, 74%, 69%)
CMYKcmyk(9.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(41.88, 62.16, -45.49)
CIE-LCHlch(41.88, 77.03, 323.80°)
OKLaboklab(52.62% 0.1651 -0.1271)
OKLCHoklch(52.62% 0.208 322.4)
XYZxyz(23.0121, 12.4214, 41.7346)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EAF #3EAF2E
analogous
#5E2EAF #9F2EAF #AF2E7E
triadic
#9F2EAF #AF9F2E #2EAF9F
tetradic
#9F2EAF #AF5E2E #3EAF2E #2E7EAF
square
#9F2EAF #AF5E2E #3EAF2E #2E7EAF
split-complementary
#9F2EAF #7EAF2E #2EAF5E
monochromatic
#47154E #73217F #9F2EAF #BF4BD0 #D07BDC

Accessibility & contrast

On white

6.03
#9F2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9F2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EAF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EAF#FFFFFF#000000##FFFFFF
##9F2EAF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#A1466C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2eaf;
/* rgb */ color: rgb(159, 46, 175);
/* oklch */ color: oklch(52.6% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#bf72c7',
    500: '#9f2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eaf;
$custom-light: #bf72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eaf",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 292.558,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.2084,
    "h": 322.4
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#9F2EAF
secondary
#7EC574
accent
#E24659
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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