#9826A7#9826A7

#9826A7 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.207 H 322.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9826A7
RGBrgb(152, 38, 167)
HSLhsl(293, 63%, 40%)
HSVhsv(293, 77%, 65%)
CMYKcmyk(9%, 77.2%, 0%, 34.5%)
CIE-LABlab(39.33, 61.92, -44.87)
CIE-LCHlch(39.33, 76.47, 324.07°)
OKLaboklab(50.43% 0.1648 -0.1254)
OKLCHoklch(50.43% 0.207 322.7)
XYZxyz(20.6164, 10.8529, 37.5606)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A7 #35A726
analogous
#5726A7 #9826A7 #A72676
triadic
#9826A7 #A79826 #26A798
tetradic
#9826A7 #A75726 #35A726 #2676A7
square
#9826A7 #A75726 #35A726 #2676A7
split-complementary
#9826A7 #76A726 #26A757
monochromatic
#3D0F43 #6B1B75 #9826A7 #C038D2 #D06ADD

Accessibility & contrast

On white

6.62
#9826A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9826A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A7#FFFFFF#000000##FFFFFF
##9826A71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#3B61A4
Tritanopia (blue-blind)
#9A3F66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9826a7;
/* rgb */ color: rgb(152, 38, 167);
/* oklch */ color: oklch(50.4% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ec2',
    500: '#9826a7',
    950: '#000000',
  },
}
SCSS
$custom: #9826a7;
$custom-light: #ba6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a7",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 293.023,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.20712,
    "h": 322.7
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#9826A7
secondary
#70C365
accent
#E64255
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A7

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

Preview Lab → · Contrast checker → · Palette generator →

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