#9825AF#9825AF

#9825AF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.215 H 320.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9825AF
RGBrgb(152, 37, 175)
HSLhsl(290, 65%, 42%)
HSVhsv(290, 79%, 69%)
CMYKcmyk(13.1%, 78.9%, 0%, 31.4%)
CIE-LABlab(39.74, 63.67, -48.98)
CIE-LCHlch(39.74, 80.33, 322.43°)
OKLaboklab(50.88% 0.1648 -0.1375)
OKLCHoklch(50.88% 0.215 320.2)
XYZxyz(21.3474, 11.0948, 41.5662)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825AF #3CAF25
analogous
#5325AF #9825AF #AF2581
triadic
#9825AF #AF9825 #25AF98
tetradic
#9825AF #AF5325 #3CAF25 #2581AF
square
#9825AF #AF5325 #3CAF25 #2581AF
split-complementary
#9825AF #81AF25 #25AF53
monochromatic
#40104A #6C1A7C #9825AF #BC3CD6 #CD6EE0

Accessibility & contrast

On white

6.52
#9825AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9825AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825AF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825AF#FFFFFF#000000##FFFFFF
##9825AF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9825af;
/* rgb */ color: rgb(152, 37, 175);
/* oklch */ color: oklch(50.9% 0.215 320.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ec8',
    500: '#9825af',
    950: '#000000',
  },
}
SCSS
$custom: #9825af;
$custom-light: #ba6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9825af",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 290,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.2146,
    "h": 320.2
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#9825AF
secondary
#79C769
accent
#E8405C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9825AF

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

Preview Lab → · Contrast checker → · Palette generator →

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