#9028B4#9028B4

#9028B4 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.213 H 315.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9028B4
RGBrgb(144, 40, 180)
HSLhsl(285, 64%, 43%)
HSVhsv(285, 78%, 71%)
CMYKcmyk(20%, 77.8%, 0%, 29.4%)
CIE-LABlab(39.14, 62.15, -52.97)
CIE-LCHlch(39.14, 81.66, 319.56°)
OKLaboklab(50.32% 0.1518 -0.1495)
OKLCHoklch(50.32% 0.213 315.4)
XYZxyz(20.4973, 10.7430, 44.1651)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9028B4 #4CB428
analogous
#4A28B4 #9028B4 #B42892
triadic
#9028B4 #B49028 #28B490
tetradic
#9028B4 #B44A28 #4CB428 #2892B4
square
#9028B4 #B44A28 #4CB428 #2892B4
split-complementary
#9028B4 #92B428 #28B44A
monochromatic
#401250 #681D82 #9028B4 #B044D5 #C576E1

Accessibility & contrast

On white

6.67
#9028B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9028B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9028B4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9028B4#FFFFFF#000000##FFFFFF
##9028B41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#235FB1
Tritanopia (blue-blind)
#8D486E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9028b4;
/* rgb */ color: rgb(144, 40, 180);
/* oklch */ color: oklch(50.3% 0.213 315.4);
Tailwind
colors: {
  custom: {
    50: '#b56ecb',
    500: '#9028b4',
    950: '#000000',
  },
}
SCSS
$custom: #9028b4;
$custom-light: #b56ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#9028b4",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 284.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.21305,
    "h": 315.4
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#9028B4
secondary
#86C870
accent
#E7416C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9028B4

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

Preview Lab → · Contrast checker → · Palette generator →

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