#9A28B3#9A28B3

#9A28B3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.216 H 319.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9A28B3
RGBrgb(154, 40, 179)
HSLhsl(289, 63%, 43%)
HSVhsv(289, 78%, 70%)
CMYKcmyk(14%, 77.7%, 0%, 29.8%)
CIE-LABlab(40.64, 63.87, -49.88)
CIE-LCHlch(40.64, 81.04, 322.01°)
OKLaboklab(51.67% 0.1642 -0.1401)
OKLCHoklch(51.67% 0.216 319.5)
XYZxyz(22.2209, 11.6434, 43.7160)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A28B3 #41B328
analogous
#5528B3 #9A28B3 #B32886
triadic
#9A28B3 #B39A28 #28B39A
tetradic
#9A28B3 #B35528 #41B328 #2886B3
square
#9A28B3 #B35528 #41B328 #2886B3
split-complementary
#9A28B3 #86B328 #28B355
monochromatic
#44124F #6F1D81 #9A28B3 #BB43D5 #CD75E0

Accessibility & contrast

On white

6.31
#9A28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9A28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A28B3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A28B3#FFFFFF#000000##FFFFFF
##9A28B31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#3464B0
Tritanopia (blue-blind)
#9A466D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a28b3;
/* rgb */ color: rgb(154, 40, 179);
/* oklch */ color: oklch(51.7% 0.216 319.5);
Tailwind
colors: {
  custom: {
    50: '#bc6fca',
    500: '#9a28b3',
    950: '#000000',
  },
}
SCSS
$custom: #9a28b3;
$custom-light: #bc6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a28b3",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 289.209,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.21584,
    "h": 319.5
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#9A28B3
secondary
#7FC86F
accent
#E6415F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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