#9A25B2#9A25B2

#9A25B2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.218 H 320.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9A25B2
RGBrgb(154, 37, 178)
HSLhsl(290, 66%, 42%)
HSVhsv(290, 79%, 70%)
CMYKcmyk(13.5%, 79.2%, 0%, 30.2%)
CIE-LABlab(40.26, 64.60, -49.91)
CIE-LCHlch(40.26, 81.63, 322.31°)
OKLaboklab(51.38% 0.1668 -0.1401)
OKLCHoklch(51.38% 0.218 320)
XYZxyz(22.0229, 11.4087, 43.1529)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A25B2 #3DB225
analogous
#5325B2 #9A25B2 #B22584
triadic
#9A25B2 #B29A25 #25B29A
tetradic
#9A25B2 #B25325 #3DB225 #2584B2
square
#9A25B2 #B25325 #3DB225 #2584B2
split-complementary
#9A25B2 #84B225 #25B253
monochromatic
#42104D #6E1A7F #9A25B2 #BD3DD7 #CE70E1

Accessibility & contrast

On white

6.40
#9A25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9A25B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A25B2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A25B2#FFFFFF#000000##FFFFFF
##9A25B21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#9A446C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a25b2;
/* rgb */ color: rgb(154, 37, 178);
/* oklch */ color: oklch(51.4% 0.218 320.0);
Tailwind
colors: {
  custom: {
    50: '#bc6eca',
    500: '#9a25b2',
    950: '#000000',
  },
}
SCSS
$custom: #9a25b2;
$custom-light: #bc6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a25b2",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 289.787,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.21782,
    "h": 320
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#9A25B2
secondary
#7BC86B
accent
#E93F5C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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