#9F26A9#9F26A9

#9F26A9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.212 H 324.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9F26A9
RGBrgb(159, 38, 169)
HSLhsl(295, 63%, 41%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(5.9%, 77.5%, 0%, 33.7%)
CIE-LABlab(40.61, 63.69, -43.95)
CIE-LCHlch(40.61, 77.38, 325.39°)
OKLaboklab(51.6% 0.1726 -0.1226)
OKLCHoklch(51.6% 0.212 324.6)
XYZxyz(22.1520, 11.6232, 38.6051)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26A9 #30A926
analogous
#5D26A9 #9F26A9 #A92671
triadic
#9F26A9 #A99F26 #26A99F
tetradic
#9F26A9 #A95D26 #30A926 #2671A9
square
#9F26A9 #A95D26 #30A926 #2671A9
split-complementary
#9F26A9 #71A926 #26A95D
monochromatic
#411045 #701B77 #9F26A9 #C73AD3 #D56CDE

Accessibility & contrast

On white

6.32
#9F26A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9F26A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F26A9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F26A9#FFFFFF#000000##FFFFFF
##9F26A91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4165A6
Tritanopia (blue-blind)
#A23F67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f26a9;
/* rgb */ color: rgb(159, 38, 169);
/* oklch */ color: oklch(51.6% 0.212 324.6);
Tailwind
colors: {
  custom: {
    50: '#bf6fc3',
    500: '#9f26a9',
    950: '#000000',
  },
}
SCSS
$custom: #9f26a9;
$custom-light: #bf6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26a9",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 295.42,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.21169,
    "h": 324.6
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#9F26A9
secondary
#6EC467
accent
#E6414E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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