#9A268F#9A268F

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

Color values

HEX#9A268F
RGBrgb(154, 38, 143)
HSLhsl(306, 60%, 38%)
HSVhsv(306, 75%, 60%)
CMYKcmyk(0%, 75.3%, 7.1%, 39.6%)
CIE-LABlab(38.27, 58.31, -32.01)
CIE-LCHlch(38.27, 66.52, 331.23°)
OKLaboklab(49.29% 0.1675 -0.088)
OKLCHoklch(49.29% 0.189 332.3)
XYZxyz(18.9775, 10.2410, 26.9585)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A268F #269A31
analogous
#6B269A #9A268F #9A2655
triadic
#9A268F #8F9A26 #268F9A
tetradic
#9A268F #9A6B26 #269A31 #26559A
square
#9A268F #9A6B26 #269A31 #26559A
split-complementary
#9A268F #559A26 #269A6B
monochromatic
#380E34 #691A61 #9A268F #CB32BD #D862CD

Accessibility & contrast

On white

6.89
#9A268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9A268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A268F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A268F#FFFFFF#000000##FFFFFF
##9A268F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a268f;
/* rgb */ color: rgb(154, 38, 143);
/* oklch */ color: oklch(49.3% 0.189 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb6db0',
    500: '#9a268f',
    950: '#000000',
  },
}
SCSS
$custom: #9a268f;
$custom-light: #bb6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a268f",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 305.69,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.18925,
    "h": 332.3
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#9A268F
secondary
#5EBE67
accent
#E45344
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A268F

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

Preview Lab → · Contrast checker → · Palette generator →

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