#9D25B2#9D25B2

#9D25B2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.219 H 321.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9D25B2
RGBrgb(157, 37, 178)
HSLhsl(291, 66%, 42%)
HSVhsv(291, 79%, 70%)
CMYKcmyk(11.8%, 79.2%, 0%, 30.2%)
CIE-LABlab(40.75, 65.17, -49.10)
CIE-LCHlch(40.75, 81.60, 323.00°)
OKLaboklab(51.82% 0.1703 -0.1377)
OKLCHoklch(51.82% 0.219 321)
XYZxyz(22.6012, 11.7068, 43.1800)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D25B2 #3AB225
analogous
#5725B2 #9D25B2 #B22580
triadic
#9D25B2 #B29D25 #25B29D
tetradic
#9D25B2 #B25725 #3AB225 #2580B2
square
#9D25B2 #B25725 #3AB225 #2580B2
split-complementary
#9D25B2 #80B225 #25B257
monochromatic
#44104D #701A7F #9D25B2 #C03DD7 #D070E1

Accessibility & contrast

On white

6.29
#9D25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9D25B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D25B2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D25B2#FFFFFF#000000##FFFFFF
##9D25B21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#9E436C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d25b2;
/* rgb */ color: rgb(157, 37, 178);
/* oklch */ color: oklch(51.8% 0.219 321.0);
Tailwind
colors: {
  custom: {
    50: '#be6fca',
    500: '#9d25b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d25b2;
$custom-light: #be6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d25b2",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 291.064,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.21897,
    "h": 321
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#9D25B2
secondary
#79C86B
accent
#E93F58
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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