#9F26A3#9F26A3

#9F26A3 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.207 H 326.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9F26A3
RGBrgb(159, 38, 163)
HSLhsl(298, 62%, 39%)
HSVhsv(298, 77%, 64%)
CMYKcmyk(2.5%, 76.7%, 0%, 36.1%)
CIE-LABlab(40.25, 62.67, -40.93)
CIE-LCHlch(40.25, 74.85, 326.85°)
OKLaboklab(51.23% 0.1729 -0.1138)
OKLCHoklch(51.23% 0.207 326.7)
XYZxyz(21.6017, 11.4030, 35.7065)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F26A3 #2AA326
analogous
#6126A3 #9F26A3 #A32669
triadic
#9F26A3 #A39F26 #26A39F
tetradic
#9F26A3 #A36126 #2AA326 #2669A3
square
#9F26A3 #A36126 #2AA326 #2669A3
split-complementary
#9F26A3 #69A326 #26A361
monochromatic
#3E0F40 #6F1A71 #9F26A3 #CB36D0 #D868DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F26A3#FFFFFF#000000##FFFFFF
##9F26A31.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)
#0055A6
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#A33C64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f26a3;
/* rgb */ color: rgb(159, 38, 163);
/* oklch */ color: oklch(51.2% 0.207 326.7);
Tailwind
colors: {
  custom: {
    50: '#bf6fbf',
    500: '#9f26a3',
    950: '#000000',
  },
}
SCSS
$custom: #9f26a3;
$custom-light: #bf6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f26a3",
  "rgb": {
    "r": 159,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 298.08,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.20699,
    "h": 326.7
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#9F26A3
secondary
#66C263
accent
#E54348
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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