#904BAD#904BAD

#904BAD is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.8% C 0.161 H 314.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#904BAD
RGBrgb(144, 75, 173)
HSLhsl(282, 40%, 49%)
HSVhsv(282, 57%, 68%)
CMYKcmyk(16.8%, 56.6%, 0%, 32.2%)
CIE-LABlab(44.20, 45.44, -40.73)
CIE-LCHlch(44.20, 61.02, 318.13°)
OKLaboklab(53.82% 0.1132 -0.1138)
OKLCHoklch(53.82% 0.161 314.8)
XYZxyz(21.5593, 13.9792, 41.0896)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BAD #68AD4B
analogous
#5F4BAD #904BAD #AD4B99
triadic
#904BAD #AD904B #4BAD90
tetradic
#904BAD #AD5F4B #68AD4B #4B99AD
square
#904BAD #AD5F4B #68AD4B #4B99AD
split-complementary
#904BAD #99AD4B #4BAD5F
monochromatic
#492658 #6C3882 #904BAD #AB73C2 #C49ED5

Accessibility & contrast

On white

5.53
#904BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #904BAD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BAD#FFFFFF#000000##FFFFFF
##904BAD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164B0
Deuteranopia (green-blind)
#4A6AAB
Tritanopia (blue-blind)
#8E5B75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #904bad;
/* rgb */ color: rgb(144, 75, 173);
/* oklch */ color: oklch(53.8% 0.161 314.8);
Tailwind
colors: {
  custom: {
    50: '#b380c6',
    500: '#904bad',
    950: '#000000',
  },
}
SCSS
$custom: #904bad;
$custom-light: #b380c6;
$custom-dark: #000000;
JSON
{
  "hex": "#904bad",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 282.245,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.16053,
    "h": 314.8
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#904BAD
secondary
#A0C192
accent
#CF587C
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #904BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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