#9825B1#9825B1

#9825B1 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.216 H 319.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9825B1
RGBrgb(152, 37, 177)
HSLhsl(289, 65%, 42%)
HSVhsv(289, 79%, 69%)
CMYKcmyk(14.1%, 79.1%, 0%, 30.6%)
CIE-LABlab(39.87, 64.04, -49.96)
CIE-LCHlch(39.87, 81.22, 322.04°)
OKLaboklab(51.02% 0.1645 -0.1403)
OKLCHoklch(51.02% 0.216 319.5)
XYZxyz(21.5453, 11.1740, 42.6084)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825B1 #3EB125
analogous
#5225B1 #9825B1 #B12584
triadic
#9825B1 #B19825 #25B198
tetradic
#9825B1 #B15225 #3EB125 #2584B1
square
#9825B1 #B15225 #3EB125 #2584B1
split-complementary
#9825B1 #84B125 #25B152
monochromatic
#41104C #6D1A7E #9825B1 #BB3DD6 #CD6FE1

Accessibility & contrast

On white

6.49
#9825B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9825B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825B1
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825B1#FFFFFF#000000##FFFFFF
##9825B11.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#3162AE
Tritanopia (blue-blind)
#98446B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9825b1;
/* rgb */ color: rgb(152, 37, 177);
/* oklch */ color: oklch(51.0% 0.216 319.5);
Tailwind
colors: {
  custom: {
    50: '#bb6ec9',
    500: '#9825b1',
    950: '#000000',
  },
}
SCSS
$custom: #9825b1;
$custom-light: #bb6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9825b1",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 289.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51019,
    "c": 0.21624,
    "h": 319.5
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#9825B1
secondary
#7BC86A
accent
#E83F5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9825B1

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

Preview Lab → · Contrast checker → · Palette generator →

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