#9028B7#9028B7

#9028B7 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.216 H 314.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9028B7
RGBrgb(144, 40, 183)
HSLhsl(284, 64%, 44%)
HSVhsv(284, 78%, 72%)
CMYKcmyk(21.3%, 78.1%, 0%, 28.2%)
CIE-LABlab(39.35, 62.74, -54.41)
CIE-LCHlch(39.35, 83.04, 319.07°)
OKLaboklab(50.54% 0.1513 -0.1537)
OKLCHoklch(50.54% 0.216 314.6)
XYZxyz(20.8062, 10.8665, 45.7920)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9028B7 #4FB728
analogous
#4828B7 #9028B7 #B72896
triadic
#9028B7 #B79028 #28B790
tetradic
#9028B7 #B74828 #4FB728 #2896B7
square
#9028B7 #B74828 #4FB728 #2896B7
split-complementary
#9028B7 #96B728 #28B748
monochromatic
#411253 #681D85 #9028B7 #AF46D6 #C578E1

Accessibility & contrast

On white

6.62
#9028B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9028B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9028B7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9028B7#FFFFFF#000000##FFFFFF
##9028B71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#1E5FB4
Tritanopia (blue-blind)
#8C4A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9028b7;
/* rgb */ color: rgb(144, 40, 183);
/* oklch */ color: oklch(50.5% 0.216 314.6);
Tailwind
colors: {
  custom: {
    50: '#b56ecd',
    500: '#9028b7',
    950: '#000000',
  },
}
SCSS
$custom: #9028b7;
$custom-light: #b56ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#9028b7",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 283.636,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.21567,
    "h": 314.6
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#9028B7
secondary
#89C972
accent
#E7416E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9028B7

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

Preview Lab → · Contrast checker → · Palette generator →

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