#9A258F#9A258F

#9A258F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 332.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9A258F
RGBrgb(154, 37, 143)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 76%, 60%)
CMYKcmyk(0%, 76%, 7.1%, 39.6%)
CIE-LABlab(38.16, 58.63, -32.19)
CIE-LCHlch(38.16, 66.88, 331.23°)
OKLaboklab(49.21% 0.1685 -0.0885)
OKLCHoklch(49.21% 0.19 332.3)
XYZxyz(18.9460, 10.1779, 26.9480)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A258F #259A30
analogous
#6B259A #9A258F #9A2555
triadic
#9A258F #8F9A25 #258F9A
tetradic
#9A258F #9A6B25 #259A30 #25559A
square
#9A258F #9A6B25 #259A30 #25559A
split-complementary
#9A258F #559A25 #259A6B
monochromatic
#370D33 #691961 #9A258F #CB31BD #D960CE

Accessibility & contrast

On white

6.92
#9A258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A258F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A258F#FFFFFF#000000##FFFFFF
##9A258F1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A13258
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a258f;
/* rgb */ color: rgb(154, 37, 143);
/* oklch */ color: oklch(49.2% 0.190 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb6db0',
    500: '#9a258f',
    950: '#000000',
  },
}
SCSS
$custom: #9a258f;
$custom-light: #bb6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a258f",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 305.641,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.19031,
    "h": 332.3
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#9A258F
secondary
#5DBE66
accent
#E45343
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A258F

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

Preview Lab → · Contrast checker → · Palette generator →

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