#904BAE#904BAE

#904BAE is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.9% C 0.162 H 314.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#904BAE
RGBrgb(144, 75, 174)
HSLhsl(282, 40%, 49%)
HSVhsv(282, 57%, 68%)
CMYKcmyk(17.2%, 56.9%, 0%, 31.8%)
CIE-LABlab(44.26, 45.65, -41.23)
CIE-LCHlch(44.26, 61.52, 317.91°)
OKLaboklab(53.88% 0.1132 -0.1153)
OKLCHoklch(53.88% 0.162 314.5)
XYZxyz(21.6564, 14.0181, 41.6011)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BAE #69AE4B
analogous
#5F4BAE #904BAE #AE4B9B
triadic
#904BAE #AE904B #4BAE90
tetradic
#904BAE #AE5F4B #69AE4B #4B9BAE
square
#904BAE #AE5F4B #69AE4B #4B9BAE
split-complementary
#904BAE #9BAE4B #4BAE5F
monochromatic
#492658 #6D3983 #904BAE #AB73C3 #C59ED5

Accessibility & contrast

On white

5.52
#904BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#904BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BAE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BAE#FFFFFF#000000##FFFFFF
##904BAE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#496AAB
Tritanopia (blue-blind)
#8E5C75
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #904bae;
/* rgb */ color: rgb(144, 75, 174);
/* oklch */ color: oklch(53.9% 0.162 314.5);
Tailwind
colors: {
  custom: {
    50: '#b380c6',
    500: '#904bae',
    950: '#000000',
  },
}
SCSS
$custom: #904bae;
$custom-light: #b380c6;
$custom-dark: #000000;
JSON
{
  "hex": "#904bae",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 281.818,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.16161,
    "h": 314.5
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #904BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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