#9826A2#9826A2

#9826A2 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.203 H 324.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9826A2
RGBrgb(152, 38, 162)
HSLhsl(295, 62%, 39%)
HSVhsv(295, 77%, 64%)
CMYKcmyk(6.2%, 76.5%, 0%, 36.5%)
CIE-LABlab(39.02, 61.04, -42.36)
CIE-LCHlch(39.02, 74.30, 325.24°)
OKLaboklab(50.11% 0.1652 -0.1181)
OKLCHoklch(50.11% 0.203 324.4)
XYZxyz(20.1631, 10.6716, 35.1732)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A2 #30A226
analogous
#5A26A2 #9826A2 #A2266E
triadic
#9826A2 #A29826 #26A298
tetradic
#9826A2 #A25A26 #30A226 #266EA2
square
#9826A2 #A25A26 #30A226 #266EA2
split-complementary
#9826A2 #6EA226 #26A25A
monochromatic
#3B0F3F #691A70 #9826A2 #C335D0 #D267DB

Accessibility & contrast

On white

6.70
#9826A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9826A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A2#FFFFFF#000000##FFFFFF
##9826A21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3F609F
Tritanopia (blue-blind)
#9B3D63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9826a2;
/* rgb */ color: rgb(152, 38, 162);
/* oklch */ color: oklch(50.1% 0.203 324.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ebe',
    500: '#9826a2',
    950: '#000000',
  },
}
SCSS
$custom: #9826a2;
$custom-light: #ba6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a2",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 295.161,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.20307,
    "h": 324.4
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#9826A2
secondary
#6AC163
accent
#E54350
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9826A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva