#9F2FBF#9F2FBF

#9F2FBF is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.221 H 317.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9F2FBF
RGBrgb(159, 47, 191)
HSLhsl(287, 61%, 47%)
HSVhsv(287, 75%, 75%)
CMYKcmyk(16.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(43.01, 64.78, -53.09)
CIE-LCHlch(43.01, 83.75, 320.67°)
OKLaboklab(53.75% 0.1627 -0.1494)
OKLCHoklch(53.75% 0.221 317.4)
XYZxyz(24.7172, 13.1666, 50.5196)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FBF #4FBF2F
analogous
#572FBF #9F2FBF #BF2F97
triadic
#9F2FBF #BF9F2F #2FBF9F
tetradic
#9F2FBF #BF572F #4FBF2F #2F97BF
square
#9F2FBF #BF572F #4FBF2F #2F97BF
split-complementary
#9F2FBF #97BF2F #2FBF57
monochromatic
#4D175D #76238E #9F2FBF #B956D5 #CD87E1

Accessibility & contrast

On white

5.78
#9F2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9F2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FBF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FBF#FFFFFF#000000##FFFFFF
##9F2FBF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#9E4E76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f2fbf;
/* rgb */ color: rgb(159, 47, 191);
/* oklch */ color: oklch(53.8% 0.221 317.4);
Tailwind
colors: {
  custom: {
    50: '#c074d3',
    500: '#9f2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fbf;
$custom-light: #c074d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fbf",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 286.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.22088,
    "h": 317.4
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#9F2FBF
secondary
#90CB7F
accent
#E44468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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