#9A268B#9A268B

#9A268B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.186 H 333.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9A268B
RGBrgb(154, 38, 139)
HSLhsl(308, 60%, 38%)
HSVhsv(308, 75%, 60%)
CMYKcmyk(0%, 75.3%, 9.7%, 39.6%)
CIE-LABlab(38.06, 57.68, -29.90)
CIE-LCHlch(38.06, 64.97, 332.60°)
OKLaboklab(49.07% 0.1673 -0.0819)
OKLCHoklch(49.07% 0.186 333.9)
XYZxyz(18.6799, 10.1219, 25.3910)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A268B #269A35
analogous
#6F269A #9A268B #9A2651
triadic
#9A268B #8B9A26 #268B9A
tetradic
#9A268B #9A6F26 #269A35 #26519A
square
#9A268B #9A6F26 #269A35 #26519A
split-complementary
#9A268B #519A26 #269A6F
monochromatic
#380E32 #691A5F #9A268B #CB32B7 #D862C9

Accessibility & contrast

On white

6.94
#9A268B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9A268B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A268B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A268B#FFFFFF#000000##FFFFFF
##9A268B1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#4E6088
Tritanopia (blue-blind)
#A13156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a268b;
/* rgb */ color: rgb(154, 38, 139);
/* oklch */ color: oklch(49.1% 0.186 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb6dad',
    500: '#9a268b',
    950: '#000000',
  },
}
SCSS
$custom: #9a268b;
$custom-light: #bb6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9a268b",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 307.759,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.18629,
    "h": 333.9
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#9A268B
secondary
#5EBE6A
accent
#E45944
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A268B

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

Preview Lab → · Contrast checker → · Palette generator →

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