#9D259E#9D259E

#9D259E is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.203 H 327.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9D259E
RGBrgb(157, 37, 158)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0.6%, 76.6%, 0%, 38%)
CIE-LABlab(39.52, 61.72, -39.12)
CIE-LCHlch(39.52, 73.07, 327.63°)
OKLaboklab(50.55% 0.1718 -0.1085)
OKLCHoklch(50.55% 0.203 327.7)
XYZxyz(20.7375, 10.9614, 33.3646)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D259E #269E25
analogous
#60259E #9D259E #9E2562
triadic
#9D259E #9E9D25 #259E9D
tetradic
#9D259E #9E6025 #269E25 #25629E
square
#9D259E #9E6025 #269E25 #25629E
split-complementary
#9D259E #629E25 #259E60
monochromatic
#3A0E3B #6C196C #9D259E #CE31CF #D963DA

Accessibility & contrast

On white

6.58
#9D259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9D259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D259E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D259E#FFFFFF#000000##FFFFFF
##9D259E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A1
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#A23961
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d259e;
/* rgb */ color: rgb(157, 37, 158);
/* oklch */ color: oklch(50.5% 0.203 327.7);
Tailwind
colors: {
  custom: {
    50: '#be6ebb',
    500: '#9d259e',
    950: '#000000',
  },
}
SCSS
$custom: #9d259e;
$custom-light: #be6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d259e",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 299.504,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.20318,
    "h": 327.7
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D259E

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

Preview Lab → · Contrast checker → · Palette generator →

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