#9F2FB8#9F2FB8

#9F2FB8 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.215 H 319.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9F2FB8
RGBrgb(159, 47, 184)
HSLhsl(289, 59%, 45%)
HSVhsv(289, 74%, 72%)
CMYKcmyk(13.6%, 74.5%, 0%, 27.8%)
CIE-LABlab(42.56, 63.46, -49.71)
CIE-LCHlch(42.56, 80.61, 321.93°)
OKLaboklab(53.29% 0.1635 -0.1395)
OKLCHoklch(53.29% 0.215 319.5)
XYZxyz(23.9652, 12.8658, 46.5591)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FB8 #48B82F
analogous
#5A2FB8 #9F2FB8 #B82F8C
triadic
#9F2FB8 #B89F2F #2FB89F
tetradic
#9F2FB8 #B85A2F #48B82F #2F8CB8
square
#9F2FB8 #B85A2F #48B82F #2F8CB8
split-complementary
#9F2FB8 #8CB82F #2FB85A
monochromatic
#4B1657 #752387 #9F2FB8 #BB52D3 #CE82DF

Accessibility & contrast

On white

5.88
#9F2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9F2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FB8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FB8#FFFFFF#000000##FFFFFF
##9F2FB81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3A68B5
Tritanopia (blue-blind)
#9F4B72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2fb8;
/* rgb */ color: rgb(159, 47, 184);
/* oklch */ color: oklch(53.3% 0.215 319.5);
Tailwind
colors: {
  custom: {
    50: '#bf73ce',
    500: '#9f2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fb8;
$custom-light: #bf73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fb8",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 289.051,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.2149,
    "h": 319.5
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#9F2FB8
secondary
#89C87B
accent
#E24562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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