#9F2FC9#9F2FC9

#9F2FC9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.229 H 314.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2FC9
RGBrgb(159, 47, 201)
HSLhsl(284, 62%, 49%)
HSVhsv(284, 77%, 79%)
CMYKcmyk(20.9%, 76.6%, 0%, 21.2%)
CIE-LABlab(43.69, 66.71, -57.82)
CIE-LCHlch(43.69, 88.28, 319.08°)
OKLaboklab(54.44% 0.1613 -0.1633)
OKLCHoklch(54.44% 0.229 314.6)
XYZxyz(25.8554, 13.6219, 56.5143)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FC9 #59C92F
analogous
#522FC9 #9F2FC9 #C92FA6
triadic
#9F2FC9 #C99F2F #2FC99F
tetradic
#9F2FC9 #C9522F #59C92F #2FA6C9
square
#9F2FC9 #C9522F #59C92F #2FA6C9
split-complementary
#9F2FC9 #A6C92F #2FC952
monochromatic
#511866 #782397 #9F2FC9 #B75CD9 #CD8EE5

Accessibility & contrast

On white

5.64
#9F2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9F2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FC9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FC9#FFFFFF#000000##FFFFFF
##9F2FC91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#9B537B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f2fc9;
/* rgb */ color: rgb(159, 47, 201);
/* oklch */ color: oklch(54.4% 0.229 314.6);
Tailwind
colors: {
  custom: {
    50: '#c074da',
    500: '#9f2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fc9;
$custom-light: #c074da;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fc9",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 283.636,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5444,
    "c": 0.22949,
    "h": 314.6
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#9F2FC9
secondary
#99CF85
accent
#E5436F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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