#9F2FC3#9F2FC3

#9F2FC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.224 H 316.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2FC3
RGBrgb(159, 47, 195)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(18.5%, 75.9%, 0%, 23.5%)
CIE-LABlab(43.28, 65.54, -54.99)
CIE-LCHlch(43.28, 85.56, 320.00°)
OKLaboklab(54.02% 0.1622 -0.155)
OKLCHoklch(54.02% 0.224 316.3)
XYZxyz(25.1634, 13.3451, 52.8695)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FC3 #53C32F
analogous
#552FC3 #9F2FC3 #C32F9D
triadic
#9F2FC3 #C39F2F #2FC39F
tetradic
#9F2FC3 #C3552F #53C32F #2F9DC3
square
#9F2FC3 #C3552F #53C32F #2F9DC3
split-complementary
#9F2FC3 #9DC32F #2FC355
monochromatic
#4F1760 #772392 #9F2FC3 #B858D7 #CD8AE3

Accessibility & contrast

On white

5.72
#9F2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9F2FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FC3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FC3#FFFFFF#000000##FFFFFF
##9F2FC31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#9D5078
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2fc3;
/* rgb */ color: rgb(159, 47, 195);
/* oklch */ color: oklch(54.0% 0.224 316.3);
Tailwind
colors: {
  custom: {
    50: '#c074d6',
    500: '#9f2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fc3;
$custom-light: #c074d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fc3",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 285.405,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.22431,
    "h": 316.3
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#9F2FC3
secondary
#94CD81
accent
#E4446B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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