#9A28AF#9A28AF

#9A28AF is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.213 H 320.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9A28AF
RGBrgb(154, 40, 175)
HSLhsl(291, 63%, 42%)
HSVhsv(291, 77%, 69%)
CMYKcmyk(12%, 77.1%, 0%, 31.4%)
CIE-LABlab(40.38, 63.13, -47.93)
CIE-LCHlch(40.38, 79.27, 322.79°)
OKLaboklab(51.4% 0.1647 -0.1344)
OKLCHoklch(51.4% 0.213 320.8)
XYZxyz(21.8222, 11.4839, 41.6163)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A28AF #3DAF28
analogous
#5728AF #9A28AF #AF2880
triadic
#9A28AF #AF9A28 #28AF9A
tetradic
#9A28AF #AF5728 #3DAF28 #2880AF
square
#9A28AF #AF5728 #3DAF28 #2880AF
split-complementary
#9A28AF #80AF28 #28AF57
monochromatic
#42114B #6E1D7D #9A28AF #BD41D4 #CE73DF

Accessibility & contrast

On white

6.37
#9A28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9A28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A28AF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A28AF#FFFFFF#000000##FFFFFF
##9A28AF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#9B446B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a28af;
/* rgb */ color: rgb(154, 40, 175);
/* oklch */ color: oklch(51.4% 0.213 320.8);
Tailwind
colors: {
  custom: {
    50: '#bc6fc7',
    500: '#9a28af',
    950: '#000000',
  },
}
SCSS
$custom: #9a28af;
$custom-light: #bc6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a28af",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 290.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.21253,
    "h": 320.8
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#9A28AF
secondary
#7BC66D
accent
#E6425B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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