#9926BA#9926BA

#9926BA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.223 H 317.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9926BA
RGBrgb(153, 38, 186)
HSLhsl(287, 66%, 44%)
HSVhsv(287, 80%, 73%)
CMYKcmyk(17.7%, 79.6%, 0%, 27.1%)
CIE-LABlab(40.74, 65.60, -53.86)
CIE-LCHlch(40.74, 84.88, 320.61°)
OKLaboklab(51.86% 0.1636 -0.1518)
OKLCHoklch(51.86% 0.223 317.1)
XYZxyz(22.6916, 11.7047, 47.5088)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9926BA #47BA26
analogous
#4F26BA #9926BA #BA2691
triadic
#9926BA #BA9926 #26BA99
tetradic
#9926BA #BA4F26 #47BA26 #2691BA
square
#9926BA #BA4F26 #47BA26 #2691BA
split-complementary
#9926BA #91BA26 #26BA4F
monochromatic
#451154 #6F1C87 #9926BA #B844D9 #CB77E3

Accessibility & contrast

On white

6.29
#9926BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9926BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9926BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9926BA#FFFFFF#000000##FFFFFF
##9926BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2963B7
Tritanopia (blue-blind)
#974871
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9926ba;
/* rgb */ color: rgb(153, 38, 186);
/* oklch */ color: oklch(51.9% 0.223 317.1);
Tailwind
colors: {
  custom: {
    50: '#bc6fcf',
    500: '#9926ba',
    950: '#000000',
  },
}
SCSS
$custom: #9926ba;
$custom-light: #bc6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9926ba",
  "rgb": {
    "r": 153,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 286.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.22314,
    "h": 317.1
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#9926BA
secondary
#85CB71
accent
#E93F65
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9926BA

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

Preview Lab → · Contrast checker → · Palette generator →

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