#9F2095#9F2095

#9F2095 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.202 H 331.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F2095
RGBrgb(159, 32, 149)
HSLhsl(305, 66%, 37%)
HSVhsv(305, 80%, 62%)
CMYKcmyk(0%, 79.9%, 6.3%, 37.6%)
CIE-LABlab(38.86, 62.13, -34.69)
CIE-LCHlch(38.86, 71.16, 330.82°)
OKLaboklab(49.98% 0.178 -0.0956)
OKLCHoklch(49.98% 0.202 331.8)
XYZxyz(20.2394, 10.5756, 29.4033)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2095 #209F2A
analogous
#69209F #9F2095 #9F2056
triadic
#9F2095 #959F20 #20959F
tetradic
#9F2095 #9F6920 #209F2A #20569F
square
#9F2095 #9F6920 #209F2A #20569F
split-complementary
#9F2095 #569F20 #209F69
monochromatic
#390B36 #6C1665 #9F2095 #D22AC5 #DE5BD4

Accessibility & contrast

On white

6.74
#9F2095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2095
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2095#FFFFFF#000000##FFFFFF
##9F20951.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#4B6292
Tritanopia (blue-blind)
#A6315A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2095;
/* rgb */ color: rgb(159, 32, 149);
/* oklch */ color: oklch(50.0% 0.202 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6cb4',
    500: '#9f2095',
    950: '#000000',
  },
}
SCSS
$custom: #9f2095;
$custom-light: #bf6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2095",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 304.724,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.20208,
    "h": 331.8
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#9F2095
secondary
#59C261
accent
#E94C3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F2095

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

Preview Lab → · Contrast checker → · Palette generator →

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