#9A258E#9A258E

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

Color values

HEX#9A258E
RGBrgb(154, 37, 142)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 76%, 60%)
CMYKcmyk(0%, 76%, 7.8%, 39.6%)
CIE-LABlab(38.11, 58.47, -31.66)
CIE-LCHlch(38.11, 66.49, 331.56°)
OKLaboklab(49.15% 0.1684 -0.087)
OKLCHoklch(49.15% 0.19 332.7)
XYZxyz(18.8706, 10.1477, 26.5508)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A258E #259A31
analogous
#6C259A #9A258E #9A2553
triadic
#9A258E #8E9A25 #258E9A
tetradic
#9A258E #9A6C25 #259A31 #25539A
square
#9A258E #9A6C25 #259A31 #25539A
split-complementary
#9A258E #539A25 #259A6C
monochromatic
#370D33 #691961 #9A258E #CB31BB #D960CD

Accessibility & contrast

On white

6.93
#9A258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A258E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A258E#FFFFFF#000000##FFFFFF
##9A258E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a258e;
/* rgb */ color: rgb(154, 37, 142);
/* oklch */ color: oklch(49.2% 0.190 332.7);
Tailwind
colors: {
  custom: {
    50: '#bb6daf',
    500: '#9a258e',
    950: '#000000',
  },
}
SCSS
$custom: #9a258e;
$custom-light: #bb6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a258e",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 306.154,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.18957,
    "h": 332.7
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#9A258E
secondary
#5DBE67
accent
#E45443
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A258E

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

Preview Lab → · Contrast checker → · Palette generator →

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