#9A26A2#9A26A2

#9A26A2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.204 H 325.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9A26A2
RGBrgb(154, 38, 162)
HSLhsl(296, 62%, 39%)
HSVhsv(296, 77%, 64%)
CMYKcmyk(4.9%, 76.5%, 0%, 36.5%)
CIE-LABlab(39.35, 61.46, -41.81)
CIE-LCHlch(39.35, 74.33, 325.77°)
OKLaboklab(50.41% 0.1674 -0.1165)
OKLCHoklch(50.41% 0.204 325.2)
XYZxyz(20.5406, 10.8662, 35.1909)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26A2 #2EA226
analogous
#5C26A2 #9A26A2 #A2266C
triadic
#9A26A2 #A29A26 #26A29A
tetradic
#9A26A2 #A25C26 #2EA226 #266CA2
square
#9A26A2 #A25C26 #2EA226 #266CA2
split-complementary
#9A26A2 #6CA226 #26A25C
monochromatic
#3C0F3F #6B1A70 #9A26A2 #C635D0 #D467DB

Accessibility & contrast

On white

6.62
#9A26A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9A26A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26A2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26A2#FFFFFF#000000##FFFFFF
##9A26A21.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9E3D63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a26a2;
/* rgb */ color: rgb(154, 38, 162);
/* oklch */ color: oklch(50.4% 0.204 325.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ebe',
    500: '#9a26a2',
    950: '#000000',
  },
}
SCSS
$custom: #9a26a2;
$custom-light: #bc6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26a2",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 296.129,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.20396,
    "h": 325.2
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#9A26A2
secondary
#69C163
accent
#E5434D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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