#9F2E92#9F2E92

#9F2E92 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.185 H 333.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9F2E92
RGBrgb(159, 46, 146)
HSLhsl(307, 55%, 40%)
HSVhsv(307, 71%, 62%)
CMYKcmyk(0%, 71.1%, 8.2%, 37.6%)
CIE-LABlab(40.25, 57.22, -30.67)
CIE-LCHlch(40.25, 64.92, 331.81°)
OKLaboklab(50.93% 0.165 -0.0841)
OKLCHoklch(50.93% 0.185 333)
XYZxyz(20.4635, 11.4019, 28.3116)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E92 #2E9F3B
analogous
#742E9F #9F2E92 #9F2E59
triadic
#9F2E92 #929F2E #2E929F
tetradic
#9F2E92 #9F742E #2E9F3B #2E599F
square
#9F2E92 #9F742E #2E9F3B #2E599F
split-complementary
#9F2E92 #599F2E #2E9F74
monochromatic
#40133B #702066 #9F2E92 #C842B9 #D671CA

Accessibility & contrast

On white

6.40
#9F2E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F2E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E92
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E92#FFFFFF#000000##FFFFFF
##9F2E921.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5495
Deuteranopia (green-blind)
#52658F
Tritanopia (blue-blind)
#A6395C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2e92;
/* rgb */ color: rgb(159, 46, 146);
/* oklch */ color: oklch(50.9% 0.185 333.0);
Tailwind
colors: {
  custom: {
    50: '#bf71b2',
    500: '#9f2e92',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e92;
$custom-light: #bf71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e92",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 306.903,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.18518,
    "h": 333
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#9F2E92
secondary
#6BBE75
accent
#DE5B49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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