#9826A0#9826A0

#9826A0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 325.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9826A0
RGBrgb(152, 38, 160)
HSLhsl(296, 62%, 39%)
HSVhsv(296, 76%, 63%)
CMYKcmyk(5%, 76.3%, 0%, 37.3%)
CIE-LABlab(38.90, 60.69, -41.36)
CIE-LCHlch(38.90, 73.44, 325.73°)
OKLaboklab(49.99% 0.1653 -0.1152)
OKLCHoklch(49.99% 0.201 325.1)
XYZxyz(19.9867, 10.6010, 34.2444)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A0 #2EA026
analogous
#5B26A0 #9826A0 #A0266B
triadic
#9826A0 #A09826 #26A098
tetradic
#9826A0 #A05B26 #2EA026 #266BA0
square
#9826A0 #A05B26 #2EA026 #266BA0
split-complementary
#9826A0 #6BA026 #26A05B
monochromatic
#3A0F3D #691A6F #9826A0 #C534CF #D366DB

Accessibility & contrast

On white

6.73
#9826A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9826A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A0#FFFFFF#000000##FFFFFF
##9826A01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#40609D
Tritanopia (blue-blind)
#9B3C62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9826a0;
/* rgb */ color: rgb(152, 38, 160);
/* oklch */ color: oklch(50.0% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ebd',
    500: '#9826a0',
    950: '#000000',
  },
}
SCSS
$custom: #9826a0;
$custom-light: #ba6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a0",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 296.066,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.20147,
    "h": 325.1
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#9826A0
secondary
#68C061
accent
#E5434E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A0

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

Preview Lab → · Contrast checker → · Palette generator →

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