#9D26A2#9D26A2

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

Color values

HEX#9D26A2
RGBrgb(157, 38, 162)
HSLhsl(298, 62%, 39%)
HSVhsv(298, 77%, 64%)
CMYKcmyk(3.1%, 76.5%, 0%, 36.5%)
CIE-LABlab(39.86, 62.08, -40.98)
CIE-LCHlch(39.86, 74.39, 326.57°)
OKLaboklab(50.87% 0.1708 -0.114)
OKLCHoklch(50.87% 0.205 326.3)
XYZxyz(21.1189, 11.1644, 35.2180)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26A2 #2BA226
analogous
#5F26A2 #9D26A2 #A22669
triadic
#9D26A2 #A29D26 #26A29D
tetradic
#9D26A2 #A25F26 #2BA226 #2669A2
square
#9D26A2 #A25F26 #2BA226 #2669A2
split-complementary
#9D26A2 #69A226 #26A25F
monochromatic
#3D0F3F #6D1A70 #9D26A2 #CA35D0 #D767DB

Accessibility & contrast

On white

6.50
#9D26A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9D26A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D26A2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D26A2#FFFFFF#000000##FFFFFF
##9D26A21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#A13C63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d26a2;
/* rgb */ color: rgb(157, 38, 162);
/* oklch */ color: oklch(50.9% 0.205 326.3);
Tailwind
colors: {
  custom: {
    50: '#be6ebe',
    500: '#9d26a2',
    950: '#000000',
  },
}
SCSS
$custom: #9d26a2;
$custom-light: #be6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26a2",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 297.581,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.20531,
    "h": 326.3
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#9D26A2
secondary
#66C163
accent
#E54349
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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