#904097#904097

#904097 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.156 H 324.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#904097
RGBrgb(144, 64, 151)
HSLhsl(295, 40%, 42%)
HSVhsv(295, 58%, 59%)
CMYKcmyk(4.6%, 57.6%, 0%, 40.8%)
CIE-LABlab(40.95, 46.48, -32.76)
CIE-LCHlch(40.95, 56.87, 324.82°)
OKLaboklab(51.05% 0.1264 -0.0906)
OKLCHoklch(51.05% 0.156 324.4)
XYZxyz(18.9204, 11.8315, 30.5593)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904097 #479740
analogous
#644097 #904097 #974073
triadic
#904097 #979040 #409790
tetradic
#904097 #976440 #479740 #407397
square
#904097 #976440 #479740 #407397
split-complementary
#904097 #739740 #409764
monochromatic
#3E1C41 #672E6C #904097 #B25BB9 #C686CC

Accessibility & contrast

On white

6.24
#904097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#904097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904097
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904097#FFFFFF#000000##FFFFFF
##9040971.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#934C65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #904097;
/* rgb */ color: rgb(144, 64, 151);
/* oklch */ color: oklch(51.1% 0.156 324.4);
Tailwind
colors: {
  custom: {
    50: '#b379b6',
    500: '#904097',
    950: '#000000',
  },
}
SCSS
$custom: #904097;
$custom-light: #b379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#904097",
  "rgb": {
    "r": 144,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 295.172,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.15553,
    "h": 324.4
  },
  "luminance": 0.1183
}

Semantic roles & 50–950 ramp

primary
#904097
secondary
#81B67D
accent
#D05761
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #904097

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

Preview Lab → · Contrast checker → · Palette generator →

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