#9D26A3#9D26A3

#9D26A3 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.206 H 325.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D26A3
RGBrgb(157, 38, 163)
HSLhsl(297, 62%, 39%)
HSVhsv(297, 77%, 64%)
CMYKcmyk(3.7%, 76.7%, 0%, 36.1%)
CIE-LABlab(39.92, 62.25, -41.49)
CIE-LCHlch(39.92, 74.81, 326.32°)
OKLaboklab(50.93% 0.1707 -0.1154)
OKLCHoklch(50.93% 0.206 325.9)
XYZxyz(21.2082, 11.2001, 35.6880)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26A3 #2CA326
analogous
#5F26A3 #9D26A3 #A3266B
triadic
#9D26A3 #A39D26 #26A39D
tetradic
#9D26A3 #A35F26 #2CA326 #266BA3
square
#9D26A3 #A35F26 #2CA326 #266BA3
split-complementary
#9D26A3 #6BA326 #26A35F
monochromatic
#3D0F40 #6D1A71 #9D26A3 #C936D0 #D668DC

Accessibility & contrast

On white

6.48
#9D26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D26A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D26A3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D26A3#FFFFFF#000000##FFFFFF
##9D26A31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#A13C64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d26a3;
/* rgb */ color: rgb(157, 38, 163);
/* oklch */ color: oklch(50.9% 0.206 325.9);
Tailwind
colors: {
  custom: {
    50: '#be6ebf',
    500: '#9d26a3',
    950: '#000000',
  },
}
SCSS
$custom: #9d26a3;
$custom-light: #be6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26a3",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 297.12,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.20609,
    "h": 325.9
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#9D26A3
secondary
#68C263
accent
#E5434A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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