#9825B2#9825B2

#9825B2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.217 H 319.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9825B2
RGBrgb(152, 37, 178)
HSLhsl(289, 66%, 42%)
HSVhsv(289, 79%, 70%)
CMYKcmyk(14.6%, 79.2%, 0%, 30.2%)
CIE-LABlab(39.94, 64.22, -50.44)
CIE-LCHlch(39.94, 81.66, 321.85°)
OKLaboklab(51.09% 0.1644 -0.1418)
OKLCHoklch(51.09% 0.217 319.2)
XYZxyz(21.6453, 11.2140, 43.1352)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9825B2 #3FB225
analogous
#5225B2 #9825B2 #B22586
triadic
#9825B2 #B29825 #25B298
tetradic
#9825B2 #B25225 #3FB225 #2586B2
square
#9825B2 #B25225 #3FB225 #2586B2
split-complementary
#9825B2 #86B225 #25B252
monochromatic
#41104D #6D1A7F #9825B2 #BA3DD7 #CC70E1

Accessibility & contrast

On white

6.48
#9825B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9825B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9825B2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9825B2#FFFFFF#000000##FFFFFF
##9825B21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#98446C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9825b2;
/* rgb */ color: rgb(152, 37, 178);
/* oklch */ color: oklch(51.1% 0.217 319.2);
Tailwind
colors: {
  custom: {
    50: '#bb6eca',
    500: '#9825b2',
    950: '#000000',
  },
}
SCSS
$custom: #9825b2;
$custom-light: #bb6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9825b2",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 288.936,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.21706,
    "h": 319.2
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#9825B2
secondary
#7CC86B
accent
#E93F5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9825B2

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

Preview Lab → · Contrast checker → · Palette generator →

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