#9F2FC4#9F2FC4

#9F2FC4 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.225 H 316.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9F2FC4
RGBrgb(159, 47, 196)
HSLhsl(285, 61%, 48%)
HSVhsv(285, 76%, 77%)
CMYKcmyk(18.9%, 76%, 0%, 23.1%)
CIE-LABlab(43.35, 65.74, -55.47)
CIE-LCHlch(43.35, 86.01, 319.84°)
OKLaboklab(54.09% 0.162 -0.1563)
OKLCHoklch(54.09% 0.225 316)
XYZxyz(25.2768, 13.3905, 53.4670)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FC4 #54C42F
analogous
#552FC4 #9F2FC4 #C42F9E
triadic
#9F2FC4 #C49F2F #2FC49F
tetradic
#9F2FC4 #C4552F #54C42F #2F9EC4
square
#9F2FC4 #C4552F #54C42F #2F9EC4
split-complementary
#9F2FC4 #9EC42F #2FC455
monochromatic
#4F1761 #772393 #9F2FC4 #B859D7 #CD8AE3

Accessibility & contrast

On white

5.71
#9F2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9F2FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FC4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FC4#FFFFFF#000000##FFFFFF
##9F2FC41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2D69C1
Tritanopia (blue-blind)
#9C5078
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2fc4;
/* rgb */ color: rgb(159, 47, 196);
/* oklch */ color: oklch(54.1% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#c074d7',
    500: '#9f2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fc4;
$custom-light: #c074d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fc4",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 285.101,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.22517,
    "h": 316
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#9F2FC4
secondary
#94CD82
accent
#E4436B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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