#9028C3#9028C3

#9028C3 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.226 H 311.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9028C3
RGBrgb(144, 40, 195)
HSLhsl(280, 66%, 46%)
HSVhsv(280, 79%, 76%)
CMYKcmyk(26.2%, 79.5%, 0%, 23.5%)
CIE-LABlab(40.23, 65.15, -60.04)
CIE-LCHlch(40.23, 88.60, 317.34°)
OKLaboklab(51.42% 0.1489 -0.1702)
OKLCHoklch(51.42% 0.226 311.2)
XYZxyz(22.1088, 11.3876, 52.6525)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9028C3 #5BC328
analogous
#4228C3 #9028C3 #C328A8
triadic
#9028C3 #C39028 #28C390
tetradic
#9028C3 #C34228 #5BC328 #28A8C3
square
#9028C3 #C34228 #5BC328 #28A8C3
split-complementary
#9028C3 #A8C328 #28C342
monochromatic
#45135D #6A1E90 #9028C3 #AC4EDB #C480E5

Accessibility & contrast

On white

6.41
#9028C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9028C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9028C3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9028C3#FFFFFF#000000##FFFFFF
##9028C31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#894F76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9028c3;
/* rgb */ color: rgb(144, 40, 195);
/* oklch */ color: oklch(51.4% 0.226 311.2);
Tailwind
colors: {
  custom: {
    50: '#b66fd6',
    500: '#9028c3',
    950: '#000000',
  },
}
SCSS
$custom: #9028c3;
$custom-light: #b66fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9028c3",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 280.258,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.22619,
    "h": 311.2
  },
  "luminance": 0.11387
}

Semantic roles & 50–950 ramp

primary
#9028C3
secondary
#95CE79
accent
#E93F77
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9028C3

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

Preview Lab → · Contrast checker → · Palette generator →

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