#9D26AF#9D26AF

#9D26AF is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.216 H 321.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9D26AF
RGBrgb(157, 38, 175)
HSLhsl(292, 64%, 42%)
HSVhsv(292, 78%, 69%)
CMYKcmyk(10.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(40.66, 64.34, -47.47)
CIE-LCHlch(40.66, 79.95, 323.58°)
OKLaboklab(51.69% 0.1698 -0.1329)
OKLCHoklch(51.69% 0.216 321.9)
XYZxyz(22.3348, 11.6508, 41.6215)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26AF #38AF26
analogous
#5926AF #9D26AF #AF267D
triadic
#9D26AF #AF9D26 #26AF9D
tetradic
#9D26AF #AF5926 #38AF26 #267DAF
square
#9D26AF #AF5926 #38AF26 #267DAF
split-complementary
#9D26AF #7DAF26 #26AF59
monochromatic
#43104A #701B7D #9D26AF #C13DD5 #D170E0

Accessibility & contrast

On white

6.31
#9D26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9D26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D26AF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D26AF#FFFFFF#000000##FFFFFF
##9D26AF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#9F426A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d26af;
/* rgb */ color: rgb(157, 38, 175);
/* oklch */ color: oklch(51.7% 0.216 321.9);
Tailwind
colors: {
  custom: {
    50: '#be6fc7',
    500: '#9d26af',
    950: '#000000',
  },
}
SCSS
$custom: #9d26af;
$custom-light: #be6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26af",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 292.117,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.21564,
    "h": 321.9
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#9D26AF
secondary
#76C76A
accent
#E74056
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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