#9040AE#9040AE

#9040AE is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.4% C 0.178 H 315.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9040AE
RGBrgb(144, 64, 174)
HSLhsl(284, 46%, 47%)
HSVhsv(284, 63%, 68%)
CMYKcmyk(17.2%, 63.2%, 0%, 31.8%)
CIE-LABlab(42.24, 51.13, -44.45)
CIE-LCHlch(42.24, 67.75, 319.00°)
OKLaboklab(52.41% 0.1274 -0.1247)
OKLCHoklch(52.41% 0.178 315.6)
XYZxyz(20.9738, 12.6528, 41.3736)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9040AE #5EAE40
analogous
#5940AE #9040AE #AE4095
triadic
#9040AE #AE9040 #40AE90
tetradic
#9040AE #AE5940 #5EAE40 #4095AE
square
#9040AE #AE5940 #5EAE40 #4095AE
split-complementary
#9040AE #95AE40 #40AE59
monochromatic
#461F55 #6B3081 #9040AE #AC65C6 #C492D7

Accessibility & contrast

On white

5.95
#9040AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9040AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9040AE
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9040AE#FFFFFF#000000##FFFFFF
##9040AE1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#3F66AB
Tritanopia (blue-blind)
#8E5471
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9040ae;
/* rgb */ color: rgb(144, 64, 174);
/* oklch */ color: oklch(52.4% 0.178 315.6);
Tailwind
colors: {
  custom: {
    50: '#b47ac7',
    500: '#9040ae',
    950: '#000000',
  },
}
SCSS
$custom: #9040ae;
$custom-light: #b47ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9040ae",
  "rgb": {
    "r": 144,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 283.636,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.17822,
    "h": 315.6
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#9040AE
secondary
#98C288
accent
#D65276
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #9040AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9040AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva