#9A26CA#9A26CA

#9A26CA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.1% C 0.237 H 313.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9A26CA
RGBrgb(154, 38, 202)
HSLhsl(282, 68%, 47%)
HSVhsv(282, 81%, 79%)
CMYKcmyk(23.8%, 81.2%, 0%, 20.8%)
CIE-LABlab(42.03, 68.84, -61.12)
CIE-LCHlch(42.03, 92.05, 318.40°)
OKLaboklab(53.15% 0.1617 -0.173)
OKLCHoklch(53.15% 0.237 313.1)
XYZxyz(24.6783, 12.5213, 56.9825)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A26CA #56CA26
analogous
#4826CA #9A26CA #CA26A8
triadic
#9A26CA #CA9A26 #26CA9A
tetradic
#9A26CA #CA4826 #56CA26 #26A8CA
square
#9A26CA #CA4826 #56CA26 #26A8CA
split-complementary
#9A26CA #A8CA26 #26CA48
monochromatic
#4B1363 #731C96 #9A26CA #B44FDE #CA83E8

Accessibility & contrast

On white

5.99
#9A26CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9A26CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A26CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A26CA#FFFFFF#000000##FFFFFF
##9A26CA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0266C7
Tritanopia (blue-blind)
#95507A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a26ca;
/* rgb */ color: rgb(154, 38, 202);
/* oklch */ color: oklch(53.1% 0.237 313.1);
Tailwind
colors: {
  custom: {
    50: '#bd70db',
    500: '#9a26ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a26ca;
$custom-light: #bd70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a26ca",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 282.439,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.23687,
    "h": 313.1
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#9A26CA
secondary
#94D17B
accent
#EB3D70
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9A26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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