#9F26A7#9F26A7

#9F26A7 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.210 H 325.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9F26A7
RGBrgb(159, 38, 167)
HSLhsl(296, 63%, 40%)
HSVhsv(296, 77%, 65%)
CMYKcmyk(4.8%, 77.2%, 0%, 34.5%)
CIE-LABlab(40.49, 63.35, -42.95)
CIE-LCHlch(40.49, 76.53, 325.86°)
OKLaboklab(51.48% 0.1727 -0.1196)
OKLCHoklch(51.48% 0.21 325.3)
XYZxyz(21.9657, 11.5486, 37.6239)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26A7 #2EA726
analogous
#5E26A7 #9F26A7 #A7266E
triadic
#9F26A7 #A79F26 #26A79F
tetradic
#9F26A7 #A75E26 #2EA726 #266EA7
square
#9F26A7 #A75E26 #2EA726 #266EA7
split-complementary
#9F26A7 #6EA726 #26A75E
monochromatic
#400F43 #701B75 #9F26A7 #C838D2 #D66ADD

Accessibility & contrast

On white

6.35
#9F26A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9F26A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F26A7
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F26A7#FFFFFF#000000##FFFFFF
##9F26A71.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4364A4
Tritanopia (blue-blind)
#A33E66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f26a7;
/* rgb */ color: rgb(159, 38, 167);
/* oklch */ color: oklch(51.5% 0.210 325.3);
Tailwind
colors: {
  custom: {
    50: '#bf6fc2',
    500: '#9f26a7',
    950: '#000000',
  },
}
SCSS
$custom: #9f26a7;
$custom-light: #bf6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26a7",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 296.279,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.21012,
    "h": 325.3
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#9F26A7
secondary
#6BC365
accent
#E6424C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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