#9B25BC#9B25BC

#9B25BC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.226 H 317.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9B25BC
RGBrgb(155, 37, 188)
HSLhsl(287, 67%, 44%)
HSVhsv(287, 80%, 74%)
CMYKcmyk(17.6%, 80.3%, 0%, 26.3%)
CIE-LABlab(41.09, 66.63, -54.45)
CIE-LCHlch(41.09, 86.05, 320.74°)
OKLaboklab(52.21% 0.1664 -0.1534)
OKLCHoklch(52.21% 0.226 317.3)
XYZxyz(23.2549, 11.9236, 48.6437)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B25BC #46BC25
analogous
#4F25BC #9B25BC #BC2592
triadic
#9B25BC #BC9B25 #25BC9B
tetradic
#9B25BC #BC4F25 #46BC25 #2592BC
square
#9B25BC #BC4F25 #46BC25 #2592BC
split-complementary
#9B25BC #92BC25 #25BC4F
monochromatic
#471156 #711B89 #9B25BC #B944DA #CC77E4

Accessibility & contrast

On white

6.20
#9B25BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B25BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B25BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B25BC#FFFFFF#000000##FFFFFF
##9B25BC1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#994972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b25bc;
/* rgb */ color: rgb(155, 37, 188);
/* oklch */ color: oklch(52.2% 0.226 317.3);
Tailwind
colors: {
  custom: {
    50: '#bd6fd1',
    500: '#9b25bc',
    950: '#000000',
  },
}
SCSS
$custom: #9b25bc;
$custom-light: #bd6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b25bc",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 286.887,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.22638,
    "h": 317.3
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#9B25BC
secondary
#85CC71
accent
#EA3E63
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9B25BC

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

Preview Lab → · Contrast checker → · Palette generator →

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