#9D26CA#9D26CA

#9D26CA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.6% C 0.238 H 314.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9D26CA
RGBrgb(157, 38, 202)
HSLhsl(284, 68%, 47%)
HSVhsv(284, 81%, 79%)
CMYKcmyk(22.3%, 81.2%, 0%, 20.8%)
CIE-LABlab(42.49, 69.34, -60.35)
CIE-LCHlch(42.49, 91.93, 318.96°)
OKLaboklab(53.56% 0.1655 -0.1707)
OKLCHoklch(53.56% 0.238 314.1)
XYZxyz(25.2566, 12.8195, 57.0096)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D26CA #53CA26
analogous
#4B26CA #9D26CA #CA26A5
triadic
#9D26CA #CA9D26 #26CA9D
tetradic
#9D26CA #CA4B26 #53CA26 #26A5CA
square
#9D26CA #CA4B26 #53CA26 #26A5CA
split-complementary
#9D26CA #A5CA26 #26CA4B
monochromatic
#4D1363 #751C96 #9D26CA #B74FDE #CC83E8

Accessibility & contrast

On white

5.89
#9D26CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D26CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D26CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D26CA#FFFFFF#000000##FFFFFF
##9D26CA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#1267C7
Tritanopia (blue-blind)
#984F7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d26ca;
/* rgb */ color: rgb(157, 38, 202);
/* oklch */ color: oklch(53.6% 0.238 314.1);
Tailwind
colors: {
  custom: {
    50: '#bf70db',
    500: '#9d26ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d26ca;
$custom-light: #bf70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9d26ca",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 283.537,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.23778,
    "h": 314.1
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#9D26CA
secondary
#93D17B
accent
#EB3D6D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D26CA

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

Preview Lab → · Contrast checker → · Palette generator →

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