#9926CA#9926CA

#9926CA is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 53.0% C 0.237 H 312.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9926CA
RGBrgb(153, 38, 202)
HSLhsl(282, 68%, 47%)
HSVhsv(282, 81%, 79%)
CMYKcmyk(24.3%, 81.2%, 0%, 20.8%)
CIE-LABlab(41.88, 68.67, -61.37)
CIE-LCHlch(41.88, 92.10, 318.21°)
OKLaboklab(53.01% 0.1605 -0.1738)
OKLCHoklch(53.01% 0.237 312.7)
XYZxyz(24.4887, 12.4236, 56.9736)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9926CA #57CA26
analogous
#4726CA #9926CA #CA26A9
triadic
#9926CA #CA9926 #26CA99
tetradic
#9926CA #CA4726 #57CA26 #26A9CA
square
#9926CA #CA4726 #57CA26 #26A9CA
split-complementary
#9926CA #A9CA26 #26CA47
monochromatic
#4B1363 #721C96 #9926CA #B34FDE #C983E8

Accessibility & contrast

On white

6.03
#9926CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9926CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9926CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9926CA#FFFFFF#000000##FFFFFF
##9926CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#93507A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9926ca;
/* rgb */ color: rgb(153, 38, 202);
/* oklch */ color: oklch(53.0% 0.237 312.7);
Tailwind
colors: {
  custom: {
    50: '#bc70db',
    500: '#9926ca',
    950: '#000000',
  },
}
SCSS
$custom: #9926ca;
$custom-light: #bc70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9926ca",
  "rgb": {
    "r": 153,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 282.073,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.23657,
    "h": 312.7
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#9926CA
secondary
#95D17B
accent
#EB3D71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9926CA

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

Preview Lab → · Contrast checker → · Palette generator →

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