#9A268E#9A268E

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

Color values

HEX#9A268E
RGBrgb(154, 38, 142)
HSLhsl(306, 60%, 38%)
HSVhsv(306, 75%, 60%)
CMYKcmyk(0%, 75.3%, 7.8%, 39.6%)
CIE-LABlab(38.22, 58.15, -31.49)
CIE-LCHlch(38.22, 66.13, 331.57°)
OKLaboklab(49.23% 0.1675 -0.0865)
OKLCHoklch(49.23% 0.189 332.7)
XYZxyz(18.9021, 10.2108, 26.5613)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A268E #269A32
analogous
#6C269A #9A268E #9A2654
triadic
#9A268E #8E9A26 #268E9A
tetradic
#9A268E #9A6C26 #269A32 #26549A
square
#9A268E #9A6C26 #269A32 #26549A
split-complementary
#9A268E #549A26 #269A6C
monochromatic
#380E33 #691A61 #9A268E #CB32BB #D862CC

Accessibility & contrast

On white

6.90
#9A268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A268E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A268E#FFFFFF#000000##FFFFFF
##9A268E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A13358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a268e;
/* rgb */ color: rgb(154, 38, 142);
/* oklch */ color: oklch(49.2% 0.189 332.7);
Tailwind
colors: {
  custom: {
    50: '#bb6daf',
    500: '#9a268e',
    950: '#000000',
  },
}
SCSS
$custom: #9a268e;
$custom-light: #bb6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a268e",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 306.207,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.18852,
    "h": 332.7
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#9A268E
secondary
#5EBE68
accent
#E45544
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A268E

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

Preview Lab → · Contrast checker → · Palette generator →

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