#9825A2#9825A2

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

Color values

HEX#9825A2
RGBrgb(152, 37, 162)
HSLhsl(295, 63%, 39%)
HSVhsv(295, 77%, 64%)
CMYKcmyk(6.2%, 77.2%, 0%, 36.5%)
CIE-LABlab(38.91, 61.35, -42.54)
CIE-LCHlch(38.91, 74.66, 325.26°)
OKLaboklab(50.03% 0.166 -0.1186)
OKLCHoklch(50.03% 0.204 324.5)
XYZxyz(20.1315, 10.6085, 35.1627)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825A2 #2FA225
analogous
#5A25A2 #9825A2 #A2256E
triadic
#9825A2 #A29825 #25A298
tetradic
#9825A2 #A25A25 #2FA225 #256EA2
square
#9825A2 #A25A25 #2FA225 #256EA2
split-complementary
#9825A2 #6EA225 #25A25A
monochromatic
#3B0E3E #691A70 #9825A2 #C434D1 #D265DC

Accessibility & contrast

On white

6.73
#9825A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9825A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825A2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825A2#FFFFFF#000000##FFFFFF
##9825A21.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)
#0053A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#9B3D63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9825a2;
/* rgb */ color: rgb(152, 37, 162);
/* oklch */ color: oklch(50.0% 0.204 324.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dbe',
    500: '#9825a2',
    950: '#000000',
  },
}
SCSS
$custom: #9825a2;
$custom-light: #ba6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9825a2",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 295.2,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.20406,
    "h": 324.5
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#9825A2
secondary
#69C261
accent
#E6424F
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9825A2

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

Preview Lab → · Contrast checker → · Palette generator →

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