#904EAE#904EAE

#904EAE is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.3% C 0.157 H 314.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#904EAE
RGBrgb(144, 78, 174)
HSLhsl(281, 38%, 49%)
HSVhsv(281, 55%, 68%)
CMYKcmyk(17.2%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.85, 44.08, -40.29)
CIE-LCHlch(44.85, 59.72, 317.57°)
OKLaboklab(54.31% 0.1092 -0.1126)
OKLCHoklch(54.31% 0.157 314.1)
XYZxyz(21.8647, 14.4347, 41.6706)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904EAE #6CAE4E
analogous
#604EAE #904EAE #AE4E9C
triadic
#904EAE #AE904E #4EAE90
tetradic
#904EAE #AE604E #6CAE4E #4E9CAE
square
#904EAE #AE604E #6CAE4E #4E9CAE
split-complementary
#904EAE #9CAE4E #4EAE60
monochromatic
#4A2859 #6D3B84 #904EAE #AB77C2 #C5A1D5

Accessibility & contrast

On white

5.40
#904EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#904EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904EAE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904EAE#FFFFFF#000000##FFFFFF
##904EAE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#8E5E76
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #904eae;
/* rgb */ color: rgb(144, 78, 174);
/* oklch */ color: oklch(54.3% 0.157 314.1);
Tailwind
colors: {
  custom: {
    50: '#b382c6',
    500: '#904eae',
    950: '#000000',
  },
}
SCSS
$custom: #904eae;
$custom-light: #b382c6;
$custom-dark: #000000;
JSON
{
  "hex": "#904eae",
  "rgb": {
    "r": 144,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 281.25,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.15683,
    "h": 314.1
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#904EAE
secondary
#A4C296
accent
#CE5A7E
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #904EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#904EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva