#904BA2#904BA2

#904BA2 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.2% C 0.149 H 319.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#904BA2
RGBrgb(144, 75, 162)
HSLhsl(288, 37%, 46%)
HSVhsv(288, 54%, 64%)
CMYKcmyk(11.1%, 53.7%, 0%, 36.5%)
CIE-LABlab(43.61, 43.10, -35.15)
CIE-LCHlch(43.61, 55.61, 320.80°)
OKLaboklab(53.19% 0.1123 -0.0976)
OKLCHoklch(53.19% 0.149 319)
XYZxyz(20.5384, 13.5709, 35.7130)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BA2 #5DA24B
analogous
#654BA2 #904BA2 #A24B89
triadic
#904BA2 #A2904B #4BA290
tetradic
#904BA2 #A2654B #5DA24B #4B89A2
square
#904BA2 #A2654B #5DA24B #4B89A2
split-complementary
#904BA2 #89A24B #4BA265
monochromatic
#46244E #6B3878 #904BA2 #AC6EBC #C498CF

Accessibility & contrast

On white

5.65
#904BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#904BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BA2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BA2#FFFFFF#000000##FFFFFF
##904BA21.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#5069A0
Tritanopia (blue-blind)
#90586F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #904ba2;
/* rgb */ color: rgb(144, 75, 162);
/* oklch */ color: oklch(53.2% 0.149 319.0);
Tailwind
colors: {
  custom: {
    50: '#b380be',
    500: '#904ba2',
    950: '#000000',
  },
}
SCSS
$custom: #904ba2;
$custom-light: #b380be;
$custom-dark: #000000;
JSON
{
  "hex": "#904ba2",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 287.586,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.14878,
    "h": 319
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#904BA2
secondary
#97BC8D
accent
#CD5B73
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #904BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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