#9028CA#9028CA

#9028CA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 52.0% C 0.232 H 309.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9028CA
RGBrgb(144, 40, 202)
HSLhsl(279, 67%, 47%)
HSVhsv(279, 80%, 79%)
CMYKcmyk(28.7%, 80.2%, 0%, 20.8%)
CIE-LABlab(40.75, 66.58, -63.26)
CIE-LCHlch(40.75, 91.84, 316.47°)
OKLaboklab(51.96% 0.1473 -0.1797)
OKLCHoklch(51.96% 0.232 309.3)
XYZxyz(22.9189, 11.7116, 56.9189)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9028CA #62CA28
analogous
#3F28CA #9028CA #CA28B3
triadic
#9028CA #CA9028 #28CA90
tetradic
#9028CA #CA3F28 #62CA28 #28B3CA
square
#9028CA #CA3F28 #62CA28 #28B3CA
split-complementary
#9028CA #B3CA28 #28CA3F
monochromatic
#471464 #6C1E97 #9028CA #AB52DD #C485E7

Accessibility & contrast

On white

6.28
#9028CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9028CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9028CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9028CA#FFFFFF#000000##FFFFFF
##9028CA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#87527A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9028ca;
/* rgb */ color: rgb(144, 40, 202);
/* oklch */ color: oklch(52.0% 0.232 309.3);
Tailwind
colors: {
  custom: {
    50: '#b66fdb',
    500: '#9028ca',
    950: '#000000',
  },
}
SCSS
$custom: #9028ca;
$custom-light: #b66fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9028ca",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 202
  },
  "hsl": {
    "h": 278.519,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.23236,
    "h": 309.3
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#9028CA
secondary
#9BD07E
accent
#EA3E7B
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9028CA

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

Preview Lab → · Contrast checker → · Palette generator →

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