#9D25BA#9D25BA

#9D25BA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.4% C 0.225 H 318.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9D25BA
RGBrgb(157, 37, 186)
HSLhsl(288, 67%, 44%)
HSVhsv(288, 80%, 73%)
CMYKcmyk(15.6%, 80.1%, 0%, 27.1%)
CIE-LABlab(41.28, 66.62, -52.97)
CIE-LCHlch(41.28, 85.11, 321.51°)
OKLaboklab(52.36% 0.1692 -0.149)
OKLCHoklch(52.36% 0.225 318.6)
XYZxyz(23.4279, 12.0375, 47.5343)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D25BA #42BA25
analogous
#5225BA #9D25BA #BA258C
triadic
#9D25BA #BA9D25 #25BA9D
tetradic
#9D25BA #BA5225 #42BA25 #258CBA
square
#9D25BA #BA5225 #42BA25 #258CBA
split-complementary
#9D25BA #8CBA25 #25BA52
monochromatic
#471154 #721B87 #9D25BA #BC43DA #CE76E4

Accessibility & contrast

On white

6.16
#9D25BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9D25BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D25BA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D25BA#FFFFFF#000000##FFFFFF
##9D25BA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#9C4771
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d25ba;
/* rgb */ color: rgb(157, 37, 186);
/* oklch */ color: oklch(52.4% 0.225 318.6);
Tailwind
colors: {
  custom: {
    50: '#be6fcf',
    500: '#9d25ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d25ba;
$custom-light: #be6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d25ba",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 288.322,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.22545,
    "h": 318.6
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#9D25BA
secondary
#82CB70
accent
#EA3E5F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9D25BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9D25BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva