#9F2FB2#9F2FB2

#9F2FB2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.210 H 321.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9F2FB2
RGBrgb(159, 47, 178)
HSLhsl(291, 58%, 44%)
HSVhsv(291, 74%, 70%)
CMYKcmyk(10.7%, 73.6%, 0%, 30.2%)
CIE-LABlab(42.18, 62.35, -46.78)
CIE-LCHlch(42.18, 77.95, 323.12°)
OKLaboklab(52.9% 0.164 -0.1309)
OKLCHoklch(52.9% 0.21 321.4)
XYZxyz(23.3496, 12.6196, 43.3168)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2FB2 #42B22F
analogous
#5E2FB2 #9F2FB2 #B22F84
triadic
#9F2FB2 #B29F2F #2FB29F
tetradic
#9F2FB2 #B25E2F #42B22F #2F84B2
square
#9F2FB2 #B25E2F #42B22F #2F84B2
split-complementary
#9F2FB2 #84B22F #2FB25E
monochromatic
#491551 #742282 #9F2FB2 #BD4ED0 #CF7EDD

Accessibility & contrast

On white

5.96
#9F2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9F2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2FB2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2FB2#FFFFFF#000000##FFFFFF
##9F2FB21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#A0486E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f2fb2;
/* rgb */ color: rgb(159, 47, 178);
/* oklch */ color: oklch(52.9% 0.210 321.4);
Tailwind
colors: {
  custom: {
    50: '#bf73ca',
    500: '#9f2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2fb2;
$custom-light: #bf73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2fb2",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 291.298,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.20982,
    "h": 321.4
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#9F2FB2
secondary
#82C677
accent
#E1465D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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