#9826A3#9826A3

#9826A3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.204 H 324.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9826A3
RGBrgb(152, 38, 163)
HSLhsl(295, 62%, 39%)
HSVhsv(295, 77%, 64%)
CMYKcmyk(6.7%, 76.7%, 0%, 36.1%)
CIE-LABlab(39.08, 61.21, -42.87)
CIE-LCHlch(39.08, 74.73, 325.00°)
OKLaboklab(50.18% 0.1651 -0.1196)
OKLCHoklch(50.18% 0.204 324.1)
XYZxyz(20.2523, 10.7073, 35.6432)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826A3 #31A326
analogous
#5A26A3 #9826A3 #A32670
triadic
#9826A3 #A39826 #26A398
tetradic
#9826A3 #A35A26 #31A326 #2670A3
square
#9826A3 #A35A26 #31A326 #2670A3
split-complementary
#9826A3 #70A326 #26A35A
monochromatic
#3B0F40 #6A1A71 #9826A3 #C336D0 #D268DC

Accessibility & contrast

On white

6.69
#9826A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9826A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826A3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826A3#FFFFFF#000000##FFFFFF
##9826A31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#3E61A0
Tritanopia (blue-blind)
#9B3E64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9826a3;
/* rgb */ color: rgb(152, 38, 163);
/* oklch */ color: oklch(50.2% 0.204 324.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ebf',
    500: '#9826a3',
    950: '#000000',
  },
}
SCSS
$custom: #9826a3;
$custom-light: #ba6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#9826a3",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 294.72,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.20388,
    "h": 324.1
  },
  "luminance": 0.10706
}

Semantic roles & 50–950 ramp

primary
#9826A3
secondary
#6BC263
accent
#E54351
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9826A3

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

Preview Lab → · Contrast checker → · Palette generator →

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