#904099#904099

#904099 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.2% C 0.157 H 323.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#904099
RGBrgb(144, 64, 153)
HSLhsl(294, 41%, 43%)
HSVhsv(294, 58%, 60%)
CMYKcmyk(5.9%, 58.2%, 0%, 40%)
CIE-LABlab(41.05, 46.87, -33.80)
CIE-LCHlch(41.05, 57.79, 324.20°)
OKLaboklab(51.16% 0.1266 -0.0936)
OKLCHoklch(51.16% 0.157 323.5)
XYZxyz(19.0842, 11.8970, 31.4219)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904099 #499940
analogous
#644099 #904099 #994075
triadic
#904099 #999040 #409990
tetradic
#904099 #996440 #499940 #407599
square
#904099 #996440 #499940 #407599
split-complementary
#904099 #759940 #409964
monochromatic
#3F1C43 #672E6E #904099 #B15CBB #C687CD

Accessibility & contrast

On white

6.21
#904099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#904099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904099
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904099#FFFFFF#000000##FFFFFF
##9040991.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#924C66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #904099;
/* rgb */ color: rgb(144, 64, 153);
/* oklch */ color: oklch(51.2% 0.157 323.5);
Tailwind
colors: {
  custom: {
    50: '#b379b7',
    500: '#904099',
    950: '#000000',
  },
}
SCSS
$custom: #904099;
$custom-light: #b379b7;
$custom-dark: #000000;
JSON
{
  "hex": "#904099",
  "rgb": {
    "r": 144,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 293.933,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.15744,
    "h": 323.5
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#904099
secondary
#83B77E
accent
#D15763
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #904099

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

Preview Lab → · Contrast checker → · Palette generator →

#904099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva