#9E259F#9E259F

#9E259F is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.204 H 327.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9E259F
RGBrgb(158, 37, 159)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0.6%, 76.7%, 0%, 37.6%)
CIE-LABlab(39.74, 62.09, -39.35)
CIE-LCHlch(39.74, 73.51, 327.64°)
OKLaboklab(50.76% 0.1728 -0.1092)
OKLCHoklch(50.76% 0.204 327.7)
XYZxyz(21.0198, 11.0970, 33.8290)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E259F #269F25
analogous
#61259F #9E259F #9F2563
triadic
#9E259F #9F9E25 #259F9E
tetradic
#9E259F #9F6125 #269F25 #25639F
square
#9E259F #9F6125 #269F25 #25639F
split-complementary
#9E259F #639F25 #259F61
monochromatic
#3B0E3C #6D196D #9E259F #CE32CF #DA64DB

Accessibility & contrast

On white

6.52
#9E259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9E259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E259F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E259F#FFFFFF#000000##FFFFFF
##9E259F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A33961
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e259f;
/* rgb */ color: rgb(158, 37, 159);
/* oklch */ color: oklch(50.8% 0.204 327.7);
Tailwind
colors: {
  custom: {
    50: '#be6ebc',
    500: '#9e259f',
    950: '#000000',
  },
}
SCSS
$custom: #9e259f;
$custom-light: #be6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e259f",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 299.508,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.20441,
    "h": 327.7
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#9E259F
secondary
#60C05F
accent
#E54244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E259F

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

Preview Lab → · Contrast checker → · Palette generator →

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