#9F2FBB#9F2FBB

#9F2FBB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.217 H 318.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2FBB
RGBrgb(159, 47, 187)
HSLhsl(288, 60%, 46%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(15%, 74.9%, 0%, 26.7%)
CIE-LABlab(42.75, 64.02, -51.16)
CIE-LCHlch(42.75, 81.95, 321.37°)
OKLaboklab(53.48% 0.1632 -0.1437)
OKLCHoklch(53.48% 0.217 318.6)
XYZxyz(24.2830, 12.9930, 48.2329)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FBB #4BBB2F
analogous
#592FBB #9F2FBB #BB2F91
triadic
#9F2FBB #BB9F2F #2FBB9F
tetradic
#9F2FBB #BB592F #4BBB2F #2F91BB
square
#9F2FBB #BB592F #4BBB2F #2F91BB
split-complementary
#9F2FBB #91BB2F #2FBB59
monochromatic
#4C1659 #75238A #9F2FBB #BA53D4 #CE84E0

Accessibility & contrast

On white

5.84
#9F2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9F2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FBB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FBB#FFFFFF#000000##FFFFFF
##9F2FBB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#9E4C73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2fbb;
/* rgb */ color: rgb(159, 47, 187);
/* oklch */ color: oklch(53.5% 0.217 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf73d0',
    500: '#9f2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fbb;
$custom-light: #bf73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fbb",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 288,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.21745,
    "h": 318.6
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#9F2FBB
secondary
#8CC97C
accent
#E34564
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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