#9825BA#9825BA

#9825BA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.224 H 316.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9825BA
RGBrgb(152, 37, 186)
HSLhsl(286, 67%, 44%)
HSVhsv(286, 80%, 73%)
CMYKcmyk(18.3%, 80.1%, 0%, 27.1%)
CIE-LABlab(40.48, 65.71, -54.29)
CIE-LCHlch(40.48, 85.24, 320.44°)
OKLaboklab(51.64% 0.1631 -0.153)
OKLCHoklch(51.64% 0.224 316.8)
XYZxyz(22.4720, 11.5447, 47.4895)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825BA #47BA25
analogous
#4D25BA #9825BA #BA2591
triadic
#9825BA #BA9825 #25BA98
tetradic
#9825BA #BA4D25 #47BA25 #2591BA
square
#9825BA #BA4D25 #47BA25 #2591BA
split-complementary
#9825BA #91BA25 #25BA4D
monochromatic
#451154 #6E1B87 #9825BA #B743DA #CB76E4

Accessibility & contrast

On white

6.35
#9825BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9825BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825BA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825BA#FFFFFF#000000##FFFFFF
##9825BA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#964870
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9825ba;
/* rgb */ color: rgb(152, 37, 186);
/* oklch */ color: oklch(51.6% 0.224 316.8);
Tailwind
colors: {
  custom: {
    50: '#bb6ed0',
    500: '#9825ba',
    950: '#000000',
  },
}
SCSS
$custom: #9825ba;
$custom-light: #bb6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9825ba",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 286.309,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.22368,
    "h": 316.8
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#9825BA
secondary
#85CB70
accent
#EA3E65
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9825BA

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

Preview Lab → · Contrast checker → · Palette generator →

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