#904AAA#904AAA

#904AAA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.5% C 0.159 H 316.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#904AAA
RGBrgb(144, 74, 170)
HSLhsl(284, 39%, 48%)
HSVhsv(284, 56%, 67%)
CMYKcmyk(15.3%, 56.5%, 0%, 33.3%)
CIE-LABlab(43.84, 45.31, -39.53)
CIE-LCHlch(43.84, 60.13, 318.90°)
OKLaboklab(53.5% 0.1143 -0.1103)
OKLCHoklch(53.5% 0.159 316)
XYZxyz(21.2050, 13.7298, 39.5555)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904AAA #64AA4A
analogous
#604AAA #904AAA #AA4A94
triadic
#904AAA #AA904A #4AAA90
tetradic
#904AAA #AA604A #64AA4A #4A94AA
square
#904AAA #AA604A #64AA4A #4A94AA
split-complementary
#904AAA #94AA4A #4AAA60
monochromatic
#482555 #6C377F #904AAA #AB70C1 #C49BD3

Accessibility & contrast

On white

5.61
#904AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#904AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904AAA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904AAA#FFFFFF#000000##FFFFFF
##904AAA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#8F5A73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #904aaa;
/* rgb */ color: rgb(144, 74, 170);
/* oklch */ color: oklch(53.5% 0.159 316.0);
Tailwind
colors: {
  custom: {
    50: '#b380c4',
    500: '#904aaa',
    950: '#000000',
  },
}
SCSS
$custom: #904aaa;
$custom-light: #b380c4;
$custom-dark: #000000;
JSON
{
  "hex": "#904aaa",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 283.75,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.1589,
    "h": 316
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#904AAA
secondary
#9DC090
accent
#CF5979
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #904AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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