#9626CA#9626CA

#9626CA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.6% C 0.236 H 311.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9626CA
RGBrgb(150, 38, 202)
HSLhsl(281, 68%, 47%)
HSVhsv(281, 81%, 79%)
CMYKcmyk(25.7%, 81.2%, 0%, 20.8%)
CIE-LABlab(41.43, 68.18, -62.12)
CIE-LCHlch(41.43, 92.23, 317.66°)
OKLaboklab(52.61% 0.1566 -0.1761)
OKLCHoklch(52.61% 0.236 311.6)
XYZxyz(23.9294, 12.1352, 56.9474)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9626CA #5ACA26
analogous
#4426CA #9626CA #CA26AC
triadic
#9626CA #CA9626 #26CA96
tetradic
#9626CA #CA4426 #5ACA26 #26ACCA
square
#9626CA #CA4426 #5ACA26 #26ACCA
split-complementary
#9626CA #ACCA26 #26CA44
monochromatic
#4A1363 #701C96 #9626CA #B14FDE #C883E8

Accessibility & contrast

On white

6.13
#9626CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9626CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9626CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9626CA#FFFFFF#000000##FFFFFF
##9626CA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#8F517A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9626ca;
/* rgb */ color: rgb(150, 38, 202);
/* oklch */ color: oklch(52.6% 0.236 311.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fdb',
    500: '#9626ca',
    950: '#000000',
  },
}
SCSS
$custom: #9626ca;
$custom-light: #ba6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9626ca",
  "rgb": {
    "r": 150,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 280.976,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.2357,
    "h": 311.6
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#9626CA
secondary
#96D17B
accent
#EB3D74
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9626CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9626CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva