#904792#904792

#904792 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.8% C 0.139 H 326.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#904792
RGBrgb(144, 71, 146)
HSLhsl(298, 35%, 43%)
HSVhsv(298, 51%, 57%)
CMYKcmyk(1.4%, 51.4%, 0%, 42.7%)
CIE-LABlab(42.02, 41.98, -28.06)
CIE-LCHlch(42.02, 50.49, 326.24°)
OKLaboklab(51.76% 0.1159 -0.0771)
OKLCHoklch(51.76% 0.139 326.4)
XYZxyz(18.9428, 12.5121, 28.6059)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904792 #499247
analogous
#6A4792 #904792 #92476E
triadic
#904792 #929047 #479290
tetradic
#904792 #926A47 #499247 #476E92
square
#904792 #926A47 #499247 #476E92
split-complementary
#904792 #6E9247 #47926A
monochromatic
#3F1F40 #673369 #904792 #B163B3 #C68CC7

Accessibility & contrast

On white

6.00
#904792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#904792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904792
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904792#FFFFFF#000000##FFFFFF
##9047921.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#556690
Tritanopia (blue-blind)
#935066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #904792;
/* rgb */ color: rgb(144, 71, 146);
/* oklch */ color: oklch(51.8% 0.139 326.4);
Tailwind
colors: {
  custom: {
    50: '#b27db2',
    500: '#904792',
    950: '#000000',
  },
}
SCSS
$custom: #904792;
$custom-light: #b27db2;
$custom-dark: #000000;
JSON
{
  "hex": "#904792",
  "rgb": {
    "r": 144,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 298.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.13922,
    "h": 326.4
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#904792
secondary
#83B382
accent
#CB5D60
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #904792

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

Preview Lab → · Contrast checker → · Palette generator →

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