#9028A8#9028A8

#9028A8 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 319.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9028A8
RGBrgb(144, 40, 168)
HSLhsl(289, 62%, 41%)
HSVhsv(289, 76%, 66%)
CMYKcmyk(14.3%, 76.2%, 0%, 34.1%)
CIE-LABlab(38.33, 59.84, -47.14)
CIE-LCHlch(38.33, 76.17, 321.77°)
OKLaboklab(49.49% 0.1535 -0.1324)
OKLCHoklch(49.49% 0.203 319.2)
XYZxyz(19.3273, 10.2750, 38.0034)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9028A8 #40A828
analogous
#5028A8 #9028A8 #A82880
triadic
#9028A8 #A89028 #28A890
tetradic
#9028A8 #A85028 #40A828 #2880A8
square
#9028A8 #A85028 #40A828 #2880A8
split-complementary
#9028A8 #80A828 #28A850
monochromatic
#3B1045 #661C77 #9028A8 #B53DD1 #C86EDC

Accessibility & contrast

On white

6.87
#9028A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9028A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9028A8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9028A8#FFFFFF#000000##FFFFFF
##9028A81.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#904367
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9028a8;
/* rgb */ color: rgb(144, 40, 168);
/* oklch */ color: oklch(49.5% 0.203 319.2);
Tailwind
colors: {
  custom: {
    50: '#b46ec2',
    500: '#9028a8',
    950: '#000000',
  },
}
SCSS
$custom: #9028a8;
$custom-light: #b46ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9028a8",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 288.75,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.20268,
    "h": 319.2
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#9028A8
secondary
#7AC369
accent
#E54361
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9028A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9028A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva