#9028B1#9028B1

#9028B1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 316.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9028B1
RGBrgb(144, 40, 177)
HSLhsl(286, 63%, 43%)
HSVhsv(286, 77%, 69%)
CMYKcmyk(18.6%, 77.4%, 0%, 30.6%)
CIE-LABlab(38.94, 61.56, -51.53)
CIE-LCHlch(38.94, 80.28, 320.07°)
OKLaboklab(50.11% 0.1523 -0.1452)
OKLCHoklch(50.11% 0.21 316.4)
XYZxyz(20.1950, 10.6220, 42.5729)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9028B1 #49B128
analogous
#4B28B1 #9028B1 #B1288E
triadic
#9028B1 #B19028 #28B190
tetradic
#9028B1 #B14B28 #49B128 #288EB1
square
#9028B1 #B14B28 #49B128 #288EB1
split-complementary
#9028B1 #8EB128 #28B14B
monochromatic
#3F114D #671D7F #9028B1 #B142D4 #C674E0

Accessibility & contrast

On white

6.72
#9028B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9028B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9028B1
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9028B1#FFFFFF#000000##FFFFFF
##9028B11.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#275FAE
Tritanopia (blue-blind)
#8E476C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9028b1;
/* rgb */ color: rgb(144, 40, 177);
/* oklch */ color: oklch(50.1% 0.210 316.4);
Tailwind
colors: {
  custom: {
    50: '#b56ec9',
    500: '#9028b1',
    950: '#000000',
  },
}
SCSS
$custom: #9028b1;
$custom-light: #b56ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9028b1",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 285.547,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.21044,
    "h": 316.4
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#9028B1
secondary
#83C76E
accent
#E64269
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9028B1

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

Preview Lab → · Contrast checker → · Palette generator →

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