#9825B4#9825B4

#9825B4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.219 H 318.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9825B4
RGBrgb(152, 37, 180)
HSLhsl(288, 66%, 43%)
HSVhsv(288, 79%, 71%)
CMYKcmyk(15.6%, 79.4%, 0%, 29.4%)
CIE-LABlab(40.07, 64.59, -51.41)
CIE-LCHlch(40.07, 82.55, 321.48°)
OKLaboklab(51.23% 0.1641 -0.1446)
OKLCHoklch(51.23% 0.219 318.6)
XYZxyz(21.8476, 11.2949, 44.2005)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825B4 #41B425
analogous
#5125B4 #9825B4 #B42588
triadic
#9825B4 #B49825 #25B498
tetradic
#9825B4 #B45125 #41B425 #2588B4
square
#9825B4 #B45125 #41B425 #2588B4
split-complementary
#9825B4 #88B425 #25B451
monochromatic
#42104E #6D1B81 #9825B4 #BA3FD7 #CC71E2

Accessibility & contrast

On white

6.44
#9825B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9825B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825B4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825B4#FFFFFF#000000##FFFFFF
##9825B41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#2E62B1
Tritanopia (blue-blind)
#97456D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9825b4;
/* rgb */ color: rgb(152, 37, 180);
/* oklch */ color: oklch(51.2% 0.219 318.6);
Tailwind
colors: {
  custom: {
    50: '#bb6ecb',
    500: '#9825b4',
    950: '#000000',
  },
}
SCSS
$custom: #9825b4;
$custom-light: #bb6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#9825b4",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 288.252,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.21871,
    "h": 318.6
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#9825B4
secondary
#7EC96C
accent
#E93F60
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9825B4

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

Preview Lab → · Contrast checker → · Palette generator →

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