#9F2AC3#9F2AC3

#9F2AC3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.229 H 316.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2AC3
RGBrgb(159, 42, 195)
HSLhsl(286, 65%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18.5%, 78.5%, 0%, 23.5%)
CIE-LABlab(42.72, 67.17, -55.90)
CIE-LCHlch(42.72, 87.39, 320.23°)
OKLaboklab(53.63% 0.1663 -0.1576)
OKLCHoklch(53.63% 0.229 316.5)
XYZxyz(24.9749, 12.9680, 52.8067)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AC3 #4EC32A
analogous
#522AC3 #9F2AC3 #C32A9B
triadic
#9F2AC3 #C39F2A #2AC39F
tetradic
#9F2AC3 #C3522A #4EC32A #2A9BC3
square
#9F2AC3 #C3522A #4EC32A #2A9BC3
split-complementary
#9F2AC3 #9BC32A #2AC352
monochromatic
#4D145E #761F91 #9F2AC3 #B951D9 #CD83E4

Accessibility & contrast

On white

5.84
#9F2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9F2AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AC3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AC3#FFFFFF#000000##FFFFFF
##9F2AC31.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2A68C0
Tritanopia (blue-blind)
#9D4D77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2ac3;
/* rgb */ color: rgb(159, 42, 195);
/* oklch */ color: oklch(53.6% 0.229 316.5);
Tailwind
colors: {
  custom: {
    50: '#c072d6',
    500: '#9f2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ac3;
$custom-light: #c072d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ac3",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 285.882,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.22913,
    "h": 316.5
  },
  "luminance": 0.12967
}

Semantic roles & 50–950 ramp

primary
#9F2AC3
secondary
#8FCD7B
accent
#E84068
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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