#9F2FBD#9F2FBD

#9F2FBD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.219 H 318.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F2FBD
RGBrgb(159, 47, 189)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 74%)
CMYKcmyk(15.9%, 75.1%, 0%, 25.9%)
CIE-LABlab(42.88, 64.40, -52.13)
CIE-LCHlch(42.88, 82.85, 321.01°)
OKLaboklab(53.62% 0.163 -0.1466)
OKLCHoklch(53.62% 0.219 318)
XYZxyz(24.4986, 13.0792, 49.3683)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FBD #4DBD2F
analogous
#582FBD #9F2FBD #BD2F94
triadic
#9F2FBD #BD9F2F #2FBD9F
tetradic
#9F2FBD #BD582F #4DBD2F #2F94BD
square
#9F2FBD #BD582F #4DBD2F #2F94BD
split-complementary
#9F2FBD #94BD2F #2FBD58
monochromatic
#4D175B #76238C #9F2FBD #BA55D5 #CE86E1

Accessibility & contrast

On white

5.81
#9F2FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F2FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FBD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FBD#FFFFFF#000000##FFFFFF
##9F2FBD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#9E4D74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2fbd;
/* rgb */ color: rgb(159, 47, 189);
/* oklch */ color: oklch(53.6% 0.219 318.0);
Tailwind
colors: {
  custom: {
    50: '#c073d2',
    500: '#9f2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fbd;
$custom-light: #c073d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fbd",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 287.324,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.21916,
    "h": 318
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#9F2FBD
secondary
#8ECA7E
accent
#E34466
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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