#9825A9#9825A9

#9825A9 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.210 H 322.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9825A9
RGBrgb(152, 37, 169)
HSLhsl(292, 64%, 40%)
HSVhsv(292, 78%, 66%)
CMYKcmyk(10.1%, 78.1%, 0%, 33.7%)
CIE-LABlab(39.35, 62.59, -46.03)
CIE-LCHlch(39.35, 77.69, 323.67°)
OKLaboklab(50.49% 0.1655 -0.1288)
OKLCHoklch(50.49% 0.21 322.1)
XYZxyz(20.7711, 10.8643, 38.5314)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825A9 #36A925
analogous
#5625A9 #9825A9 #A92578
triadic
#9825A9 #A99825 #25A998
tetradic
#9825A9 #A95625 #36A925 #2578A9
square
#9825A9 #A95625 #36A925 #2578A9
split-complementary
#9825A9 #78A925 #25A956
monochromatic
#3E0F45 #6B1A77 #9825A9 #BF38D3 #CF6ADE

Accessibility & contrast

On white

6.62
#9825A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9825A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825A9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825A9#FFFFFF#000000##FFFFFF
##9825A91.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)
#0055AD
Deuteranopia (green-blind)
#3961A6
Tritanopia (blue-blind)
#9A4067
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9825a9;
/* rgb */ color: rgb(152, 37, 169);
/* oklch */ color: oklch(50.5% 0.210 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ec3',
    500: '#9825a9',
    950: '#000000',
  },
}
SCSS
$custom: #9825a9;
$custom-light: #ba6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9825a9",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 292.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.2097,
    "h": 322.1
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#9825A9
secondary
#72C465
accent
#E74156
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9825A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9825A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva