#9826AF#9826AF

#9826AF is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.214 H 320.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9826AF
RGBrgb(152, 38, 175)
HSLhsl(290, 64%, 42%)
HSVhsv(290, 78%, 69%)
CMYKcmyk(13.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(39.85, 63.37, -48.81)
CIE-LCHlch(39.85, 79.99, 322.39°)
OKLaboklab(50.96% 0.164 -0.137)
OKLCHoklch(50.96% 0.214 320.1)
XYZxyz(21.3789, 11.1579, 41.5767)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9826AF #3DAF26
analogous
#5426AF #9826AF #AF2682
triadic
#9826AF #AF9826 #26AF98
tetradic
#9826AF #AF5426 #3DAF26 #2682AF
square
#9826AF #AF5426 #3DAF26 #2682AF
split-complementary
#9826AF #82AF26 #26AF54
monochromatic
#41104A #6C1B7D #9826AF #BB3DD5 #CD70E0

Accessibility & contrast

On white

6.50
#9826AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9826AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9826AF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9826AF#FFFFFF#000000##FFFFFF
##9826AF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#98436A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9826af;
/* rgb */ color: rgb(152, 38, 175);
/* oklch */ color: oklch(51.0% 0.214 320.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ec8',
    500: '#9826af',
    950: '#000000',
  },
}
SCSS
$custom: #9826af;
$custom-light: #ba6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9826af",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 289.927,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.21367,
    "h": 320.1
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#9826AF
secondary
#7AC76A
accent
#E7405C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9826AF

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

Preview Lab → · Contrast checker → · Palette generator →

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