#9F2E95#9F2E95

#9F2E95 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.187 H 331.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9F2E95
RGBrgb(159, 46, 149)
HSLhsl(305, 55%, 40%)
HSVhsv(305, 71%, 62%)
CMYKcmyk(0%, 71.1%, 6.3%, 37.6%)
CIE-LABlab(40.40, 57.70, -32.25)
CIE-LCHlch(40.40, 66.10, 330.80°)
OKLaboklab(51.09% 0.1652 -0.0886)
OKLCHoklch(51.09% 0.187 331.8)
XYZxyz(20.6999, 11.4965, 29.5568)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E95 #2E9F38
analogous
#712E9F #9F2E95 #9F2E5C
triadic
#9F2E95 #959F2E #2E959F
tetradic
#9F2E95 #9F712E #2E9F38 #2E5C9F
square
#9F2E95 #9F712E #2E9F38 #2E5C9F
split-complementary
#9F2E95 #5C9F2E #2E9F71
monochromatic
#40133C #702069 #9F2E95 #C842BC #D671CD

Accessibility & contrast

On white

6.37
#9F2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9F2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E95
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E95#FFFFFF#000000##FFFFFF
##9F2E951.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A63A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2e95;
/* rgb */ color: rgb(159, 46, 149);
/* oklch */ color: oklch(51.1% 0.187 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf71b4',
    500: '#9f2e95',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e95;
$custom-light: #bf71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e95",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 305.31,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.18747,
    "h": 331.8
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#9F2E95
secondary
#6BBE73
accent
#DE5749
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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