#9F2AC2#9F2AC2

#9F2AC2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.6% C 0.228 H 316.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F2AC2
RGBrgb(159, 42, 194)
HSLhsl(286, 64%, 46%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18%, 78.4%, 0%, 23.9%)
CIE-LABlab(42.65, 66.98, -55.43)
CIE-LCHlch(42.65, 86.94, 320.39°)
OKLaboklab(53.56% 0.1665 -0.1562)
OKLCHoklch(53.56% 0.228 316.8)
XYZxyz(24.8622, 12.9230, 52.2132)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2AC2 #4DC22A
analogous
#532AC2 #9F2AC2 #C22A99
triadic
#9F2AC2 #C29F2A #2AC29F
tetradic
#9F2AC2 #C2532A #4DC22A #2A99C2
square
#9F2AC2 #C2532A #4DC22A #2A99C2
split-complementary
#9F2AC2 #99C22A #2AC253
monochromatic
#4D145D #761F90 #9F2AC2 #BA50D9 #CE82E4

Accessibility & contrast

On white

5.86
#9F2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F2AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2AC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2AC2#FFFFFF#000000##FFFFFF
##9F2AC21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#9D4D76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2ac2;
/* rgb */ color: rgb(159, 42, 194);
/* oklch */ color: oklch(53.6% 0.228 316.8);
Tailwind
colors: {
  custom: {
    50: '#c072d5',
    500: '#9f2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ac2;
$custom-light: #c072d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ac2",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 286.184,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.22829,
    "h": 316.8
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#9F2AC2
secondary
#8ECD7B
accent
#E74067
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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