#9B25B2#9B25B2

#9B25B2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.218 H 320.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9B25B2
RGBrgb(155, 37, 178)
HSLhsl(290, 66%, 42%)
HSVhsv(290, 79%, 70%)
CMYKcmyk(12.9%, 79.2%, 0%, 30.2%)
CIE-LABlab(40.42, 64.79, -49.64)
CIE-LCHlch(40.42, 81.62, 322.54°)
OKLaboklab(51.52% 0.1679 -0.1393)
OKLCHoklch(51.52% 0.218 320.3)
XYZxyz(22.2140, 11.5072, 43.1619)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B25B2 #3CB225
analogous
#5525B2 #9B25B2 #B22582
triadic
#9B25B2 #B29B25 #25B29B
tetradic
#9B25B2 #B25525 #3CB225 #2582B2
square
#9B25B2 #B25525 #3CB225 #2582B2
split-complementary
#9B25B2 #82B225 #25B255
monochromatic
#43104D #6F1A7F #9B25B2 #BE3DD7 #CF70E1

Accessibility & contrast

On white

6.36
#9B25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B25B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B25B2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B25B2#FFFFFF#000000##FFFFFF
##9B25B21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b25b2;
/* rgb */ color: rgb(155, 37, 178);
/* oklch */ color: oklch(51.5% 0.218 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd6eca',
    500: '#9b25b2',
    950: '#000000',
  },
}
SCSS
$custom: #9b25b2;
$custom-light: #bd6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9b25b2",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 290.213,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.2182,
    "h": 320.3
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#9B25B2
secondary
#7AC86B
accent
#E93F5B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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