#9F2FA2#9F2FA2

#9F2FA2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.197 H 326.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9F2FA2
RGBrgb(159, 47, 162)
HSLhsl(298, 55%, 41%)
HSVhsv(298, 71%, 64%)
CMYKcmyk(1.9%, 71%, 0%, 36.5%)
CIE-LABlab(41.24, 59.51, -38.76)
CIE-LCHlch(41.24, 71.02, 326.92°)
OKLaboklab(51.92% 0.1646 -0.1075)
OKLCHoklch(51.92% 0.197 326.8)
XYZxyz(21.8358, 12.0141, 35.3443)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FA2 #32A22F
analogous
#652FA2 #9F2FA2 #A22F6B
triadic
#9F2FA2 #A29F2F #2FA29F
tetradic
#9F2FA2 #A2652F #32A22F #2F6BA2
square
#9F2FA2 #A2652F #32A22F #2F6BA2
split-complementary
#9F2FA2 #6BA22F #2FA265
monochromatic
#421343 #702173 #9F2FA2 #C645C9 #D475D7

Accessibility & contrast

On white

6.17
#9F2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FA2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FA2#FFFFFF#000000##FFFFFF
##9F2FA21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#A34165
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2fa2;
/* rgb */ color: rgb(159, 47, 162);
/* oklch */ color: oklch(51.9% 0.197 326.8);
Tailwind
colors: {
  custom: {
    50: '#bf72be',
    500: '#9f2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fa2;
$custom-light: #bf72be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fa2",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 298.435,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.19658,
    "h": 326.8
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#9F2FA2
secondary
#70BF6E
accent
#DE494D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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