#904AAF#904AAF

#904AAF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.8% C 0.164 H 314.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#904AAF
RGBrgb(144, 74, 175)
HSLhsl(282, 41%, 49%)
HSVhsv(282, 58%, 69%)
CMYKcmyk(17.7%, 57.7%, 0%, 31.4%)
CIE-LABlab(44.12, 46.39, -42.04)
CIE-LCHlch(44.12, 62.60, 317.82°)
OKLaboklab(53.8% 0.1146 -0.1177)
OKLCHoklch(53.8% 0.164 314.2)
XYZxyz(21.6870, 13.9226, 42.0941)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904AAF #69AF4A
analogous
#5E4AAF #904AAF #AF4A9C
triadic
#904AAF #AF904A #4AAF90
tetradic
#904AAF #AF5E4A #69AF4A #4A9CAF
square
#904AAF #AF5E4A #69AF4A #4A9CAF
split-complementary
#904AAF #9CAF4A #4AAF5E
monochromatic
#492659 #6D3884 #904AAF #AB73C4 #C59ED6

Accessibility & contrast

On white

5.55
#904AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #904AAF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904AAF#FFFFFF#000000##FFFFFF
##904AAF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#8D5B75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #904aaf;
/* rgb */ color: rgb(144, 74, 175);
/* oklch */ color: oklch(53.8% 0.164 314.2);
Tailwind
colors: {
  custom: {
    50: '#b380c7',
    500: '#904aaf',
    950: '#000000',
  },
}
SCSS
$custom: #904aaf;
$custom-light: #b380c7;
$custom-dark: #000000;
JSON
{
  "hex": "#904aaf",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 281.584,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.16425,
    "h": 314.2
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

primary
#904AAF
secondary
#A1C292
accent
#D0577D
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #904AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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