#904AAE#904AAE

#904AAE is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.7% C 0.163 H 314.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#904AAE
RGBrgb(144, 74, 174)
HSLhsl(282, 40%, 49%)
HSVhsv(282, 57%, 68%)
CMYKcmyk(17.2%, 57.5%, 0%, 31.8%)
CIE-LABlab(44.07, 46.17, -41.54)
CIE-LCHlch(44.07, 62.11, 318.02°)
OKLaboklab(53.74% 0.1146 -0.1162)
OKLCHoklch(53.74% 0.163 314.6)
XYZxyz(21.5891, 13.8835, 41.5787)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904AAE #68AE4A
analogous
#5E4AAE #904AAE #AE4A9A
triadic
#904AAE #AE904A #4AAE90
tetradic
#904AAE #AE5E4A #68AE4A #4A9AAE
square
#904AAE #AE5E4A #68AE4A #4A9AAE
split-complementary
#904AAE #9AAE4A #4AAE5E
monochromatic
#492558 #6C3883 #904AAE #AB72C3 #C49DD5

Accessibility & contrast

On white

5.56
#904AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#904AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904AAE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904AAE#FFFFFF#000000##FFFFFF
##904AAE1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#8E5B75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #904aae;
/* rgb */ color: rgb(144, 74, 174);
/* oklch */ color: oklch(53.7% 0.163 314.6);
Tailwind
colors: {
  custom: {
    50: '#b380c7',
    500: '#904aae',
    950: '#000000',
  },
}
SCSS
$custom: #904aae;
$custom-light: #b380c7;
$custom-dark: #000000;
JSON
{
  "hex": "#904aae",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 282,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.16318,
    "h": 314.6
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#904AAE
secondary
#A0C292
accent
#D0587C
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #904AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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