#9A268C#9A268C

#9A268C is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.187 H 333.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9A268C
RGBrgb(154, 38, 140)
HSLhsl(307, 60%, 38%)
HSVhsv(307, 75%, 60%)
CMYKcmyk(0%, 75.3%, 9.1%, 39.6%)
CIE-LABlab(38.11, 57.84, -30.43)
CIE-LCHlch(38.11, 65.35, 332.25°)
OKLaboklab(49.12% 0.1674 -0.0834)
OKLCHoklch(49.12% 0.187 333.5)
XYZxyz(18.7533, 10.1513, 25.7776)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A268C #269A34
analogous
#6E269A #9A268C #9A2652
triadic
#9A268C #8C9A26 #268C9A
tetradic
#9A268C #9A6E26 #269A34 #26529A
square
#9A268C #9A6E26 #269A34 #26529A
split-complementary
#9A268C #529A26 #269A6E
monochromatic
#380E33 #691A5F #9A268C #CB32B9 #D862CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A268C#FFFFFF#000000##FFFFFF
##9A268C1.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)
#224F8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A13257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a268c;
/* rgb */ color: rgb(154, 38, 140);
/* oklch */ color: oklch(49.1% 0.187 333.5);
Tailwind
colors: {
  custom: {
    50: '#bb6dae',
    500: '#9a268c',
    950: '#000000',
  },
}
SCSS
$custom: #9a268c;
$custom-light: #bb6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a268c",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 307.241,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.18703,
    "h": 333.5
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A268C

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

Preview Lab → · Contrast checker → · Palette generator →

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