#9042AE#9042AE

#9042AE is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.7% C 0.175 H 315.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9042AE
RGBrgb(144, 66, 174)
HSLhsl(283, 45%, 47%)
HSVhsv(283, 62%, 68%)
CMYKcmyk(17.2%, 62.1%, 0%, 31.8%)
CIE-LABlab(42.59, 50.17, -43.90)
CIE-LCHlch(42.59, 66.66, 318.82°)
OKLaboklab(52.66% 0.1249 -0.123)
OKLCHoklch(52.66% 0.175 315.4)
XYZxyz(21.0886, 12.8824, 41.4119)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9042AE #60AE42
analogous
#5A42AE #9042AE #AE4296
triadic
#9042AE #AE9042 #42AE90
tetradic
#9042AE #AE5A42 #60AE42 #4296AE
square
#9042AE #AE5A42 #60AE42 #4296AE
split-complementary
#9042AE #96AE42 #42AE5A
monochromatic
#472055 #6B3182 #9042AE #AB68C6 #C494D6

Accessibility & contrast

On white

5.87
#9042AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9042AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9042AE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9042AE#FFFFFF#000000##FFFFFF
##9042AE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#8E5572
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9042ae;
/* rgb */ color: rgb(144, 66, 174);
/* oklch */ color: oklch(52.7% 0.175 315.4);
Tailwind
colors: {
  custom: {
    50: '#b37bc7',
    500: '#9042ae',
    950: '#000000',
  },
}
SCSS
$custom: #9042ae;
$custom-light: #b37bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9042ae",
  "rgb": {
    "r": 144,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 283.333,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.17532,
    "h": 315.4
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#9042AE
secondary
#99C28A
accent
#D55377
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9042AE

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

Preview Lab → · Contrast checker → · Palette generator →

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