#9F2EAA#9F2EAA

#9F2EAA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.204 H 324.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2EAA
RGBrgb(159, 46, 170)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 73%, 67%)
CMYKcmyk(6.5%, 72.9%, 0%, 33.3%)
CIE-LABlab(41.58, 61.26, -43.00)
CIE-LCHlch(41.58, 74.85, 324.93°)
OKLaboklab(52.31% 0.1654 -0.1198)
OKLCHoklch(52.31% 0.204 324.1)
XYZxyz(22.5301, 12.2286, 39.1961)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2EAA #39AA2E
analogous
#612EAA #9F2EAA #AA2E77
triadic
#9F2EAA #AA9F2E #2EAA9F
tetradic
#9F2EAA #AA612E #39AA2E #2E77AA
square
#9F2EAA #AA612E #39AA2E #2E77AA
split-complementary
#9F2EAA #77AA2E #2EAA61
monochromatic
#45144A #72217A #9F2EAA #C248CD #D278DA

Accessibility & contrast

On white

6.10
#9F2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9F2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2EAA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2EAA#FFFFFF#000000##FFFFFF
##9F2EAA1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#A24469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2eaa;
/* rgb */ color: rgb(159, 46, 170);
/* oklch */ color: oklch(52.3% 0.204 324.1);
Tailwind
colors: {
  custom: {
    50: '#bf72c4',
    500: '#9f2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #9f2eaa;
$custom-light: #bf72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2eaa",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 294.677,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.20426,
    "h": 324.1
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#9F2EAA
secondary
#78C371
accent
#E14755
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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