#9A268D#9A268D

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

Color values

HEX#9A268D
RGBrgb(154, 38, 141)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 60%)
CMYKcmyk(0%, 75.3%, 8.4%, 39.6%)
CIE-LABlab(38.17, 58.00, -30.96)
CIE-LCHlch(38.17, 65.74, 331.91°)
OKLaboklab(49.18% 0.1674 -0.085)
OKLCHoklch(49.18% 0.188 333.1)
XYZxyz(18.8274, 10.1809, 26.1677)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A268D #269A33
analogous
#6D269A #9A268D #9A2653
triadic
#9A268D #8D9A26 #268D9A
tetradic
#9A268D #9A6D26 #269A33 #26539A
square
#9A268D #9A6D26 #269A33 #26539A
split-complementary
#9A268D #539A26 #269A6D
monochromatic
#380E33 #691A60 #9A268D #CB32BA #D862CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A268D#FFFFFF#000000##FFFFFF
##9A268D1.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)
#214F90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A13257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a268d;
/* rgb */ color: rgb(154, 38, 141);
/* oklch */ color: oklch(49.2% 0.188 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6daf',
    500: '#9a268d',
    950: '#000000',
  },
}
SCSS
$custom: #9a268d;
$custom-light: #bb6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a268d",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 306.724,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.18777,
    "h": 333.1
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#9A268D
secondary
#5EBE69
accent
#E45644
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A268D

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

Preview Lab → · Contrast checker → · Palette generator →

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