#9825A8#9825A8

#9825A8 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.209 H 322.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9825A8
RGBrgb(152, 37, 168)
HSLhsl(293, 64%, 40%)
HSVhsv(293, 78%, 66%)
CMYKcmyk(9.5%, 78%, 0%, 34.1%)
CIE-LABlab(39.29, 62.41, -45.54)
CIE-LCHlch(39.29, 77.26, 323.88°)
OKLaboklab(50.42% 0.1656 -0.1274)
OKLCHoklch(50.42% 0.209 322.4)
XYZxyz(20.6776, 10.8269, 38.0389)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825A8 #35A825
analogous
#5725A8 #9825A8 #A82576
triadic
#9825A8 #A89825 #25A898
tetradic
#9825A8 #A85725 #35A825 #2576A8
square
#9825A8 #A85725 #35A825 #2576A8
split-complementary
#9825A8 #76A825 #25A857
monochromatic
#3D0F44 #6B1A76 #9825A8 #C037D3 #D069DE

Accessibility & contrast

On white

6.63
#9825A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9825A8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825A8#FFFFFF#000000##FFFFFF
##9825A81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9825a8;
/* rgb */ color: rgb(152, 37, 168);
/* oklch */ color: oklch(50.4% 0.209 322.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ec2',
    500: '#9825a8',
    950: '#000000',
  },
}
SCSS
$custom: #9825a8;
$custom-light: #ba6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9825a8",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 292.672,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.2089,
    "h": 322.4
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#9825A8
secondary
#70C465
accent
#E74155
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9825A8

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

Preview Lab → · Contrast checker → · Palette generator →

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