#9A259C#9A259C

#9A259C is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 327.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9A259C
RGBrgb(154, 37, 156)
HSLhsl(299, 62%, 38%)
HSVhsv(299, 76%, 61%)
CMYKcmyk(1.3%, 76.3%, 0%, 38.8%)
CIE-LABlab(38.89, 60.74, -38.94)
CIE-LCHlch(38.89, 72.15, 327.34°)
OKLaboklab(49.97% 0.1686 -0.1081)
OKLCHoklch(49.97% 0.2 327.3)
XYZxyz(19.9884, 10.5949, 32.4383)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A259C #279C25
analogous
#5F259C #9A259C #9C2562
triadic
#9A259C #9C9A25 #259C9A
tetradic
#9A259C #9C5F25 #279C25 #25629C
square
#9A259C #9C5F25 #279C25 #25629C
split-complementary
#9A259C #629C25 #259C5F
monochromatic
#380E39 #69196B #9A259C #CB31CD #D862DA

Accessibility & contrast

On white

6.73
#9A259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9A259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A259C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A259C#FFFFFF#000000##FFFFFF
##9A259C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02529F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#9F395F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a259c;
/* rgb */ color: rgb(154, 37, 156);
/* oklch */ color: oklch(50.0% 0.200 327.3);
Tailwind
colors: {
  custom: {
    50: '#bb6dba',
    500: '#9a259c',
    950: '#000000',
  },
}
SCSS
$custom: #9a259c;
$custom-light: #bb6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a259c",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 298.992,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49967,
    "c": 0.20023,
    "h": 327.3
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#9A259C
secondary
#5FBF5E
accent
#E54346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A259C

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

Preview Lab → · Contrast checker → · Palette generator →

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