#9A2687#9A2687

#9A2687 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.183 H 335.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9A2687
RGBrgb(154, 38, 135)
HSLhsl(310, 60%, 38%)
HSVhsv(310, 75%, 60%)
CMYKcmyk(0%, 75.3%, 12.3%, 39.6%)
CIE-LABlab(37.86, 57.07, -27.76)
CIE-LCHlch(37.86, 63.46, 334.06°)
OKLaboklab(48.86% 0.167 -0.0758)
OKLCHoklch(48.86% 0.183 335.6)
XYZxyz(18.3930, 10.0072, 23.8799)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2687 #269A39
analogous
#73269A #9A2687 #9A264D
triadic
#9A2687 #879A26 #26879A
tetradic
#9A2687 #9A7326 #269A39 #264D9A
square
#9A2687 #9A7326 #269A39 #264D9A
split-complementary
#9A2687 #4D9A26 #269A73
monochromatic
#380E31 #691A5C #9A2687 #CB32B2 #D862C5

Accessibility & contrast

On white

7.00
#9A2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9A2687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2687
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2687#FFFFFF#000000##FFFFFF
##9A26871.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A22F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2687;
/* rgb */ color: rgb(154, 38, 135);
/* oklch */ color: oklch(48.9% 0.183 335.6);
Tailwind
colors: {
  custom: {
    50: '#bb6daa',
    500: '#9a2687',
    950: '#000000',
  },
}
SCSS
$custom: #9a2687;
$custom-light: #bb6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2687",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 309.828,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48855,
    "c": 0.1834,
    "h": 335.6
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#9A2687
secondary
#5EBE6E
accent
#E45E44
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2687

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

Preview Lab → · Contrast checker → · Palette generator →

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