#9626BA#9626BA

#9626BA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.222 H 316.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9626BA
RGBrgb(150, 38, 186)
HSLhsl(285, 66%, 44%)
HSVhsv(285, 80%, 73%)
CMYKcmyk(19.4%, 79.6%, 0%, 27.1%)
CIE-LABlab(40.27, 65.05, -54.64)
CIE-LCHlch(40.27, 84.96, 319.97°)
OKLaboklab(51.43% 0.1599 -0.1542)
OKLCHoklch(51.43% 0.222 316)
XYZxyz(22.1323, 11.4163, 47.4826)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9626BA #4ABA26
analogous
#4C26BA #9626BA #BA2694
triadic
#9626BA #BA9626 #26BA96
tetradic
#9626BA #BA4C26 #4ABA26 #2694BA
square
#9626BA #BA4C26 #4ABA26 #2694BA
split-complementary
#9626BA #94BA26 #26BA4C
monochromatic
#441154 #6D1C87 #9626BA #B544D9 #C977E3

Accessibility & contrast

On white

6.40
#9626BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9626BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9626BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9626BA#FFFFFF#000000##FFFFFF
##9626BA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#934971
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9626ba;
/* rgb */ color: rgb(150, 38, 186);
/* oklch */ color: oklch(51.4% 0.222 316.0);
Tailwind
colors: {
  custom: {
    50: '#b96ed0',
    500: '#9626ba',
    950: '#000000',
  },
}
SCSS
$custom: #9626ba;
$custom-light: #b96ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9626ba",
  "rgb": {
    "r": 150,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 285.405,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.22212,
    "h": 316
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#9626BA
secondary
#87CB71
accent
#E93F68
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9626BA

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

Preview Lab → · Contrast checker → · Palette generator →

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