#9F2FC2#9F2FC2

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

Color values

HEX#9F2FC2
RGBrgb(159, 47, 194)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 76%, 76%)
CMYKcmyk(18%, 75.8%, 0%, 23.9%)
CIE-LABlab(43.21, 65.35, -54.52)
CIE-LCHlch(43.21, 85.11, 320.16°)
OKLaboklab(53.96% 0.1623 -0.1536)
OKLCHoklch(53.96% 0.223 316.6)
XYZxyz(25.0507, 13.3000, 52.2761)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FC2 #52C22F
analogous
#552FC2 #9F2FC2 #C22F9C
triadic
#9F2FC2 #C29F2F #2FC29F
tetradic
#9F2FC2 #C2552F #52C22F #2F9CC2
square
#9F2FC2 #C2552F #52C22F #2F9CC2
split-complementary
#9F2FC2 #9CC22F #2FC255
monochromatic
#4E175F #772391 #9F2FC2 #B858D6 #CD89E2

Accessibility & contrast

On white

5.74
#9F2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FC2#FFFFFF#000000##FFFFFF
##9F2FC21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#9D4F77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2fc2;
/* rgb */ color: rgb(159, 47, 194);
/* oklch */ color: oklch(54.0% 0.223 316.6);
Tailwind
colors: {
  custom: {
    50: '#c074d5',
    500: '#9f2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fc2;
$custom-light: #c074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fc2",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 285.714,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.22345,
    "h": 316.6
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#9F2FC2
secondary
#93CC81
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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