#904597#904597

#904597 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.7% C 0.147 H 324.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#904597
RGBrgb(144, 69, 151)
HSLhsl(295, 37%, 43%)
HSVhsv(295, 54%, 59%)
CMYKcmyk(4.6%, 54.3%, 0%, 40.8%)
CIE-LABlab(41.88, 43.98, -31.30)
CIE-LCHlch(41.88, 53.98, 324.56°)
OKLaboklab(51.73% 0.1195 -0.0864)
OKLCHoklch(51.73% 0.147 324.1)
XYZxyz(19.2151, 12.4209, 30.6575)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904597 #4C9745
analogous
#674597 #904597 #974575
triadic
#904597 #979045 #459790
tetradic
#904597 #976745 #4C9745 #457597
square
#904597 #976745 #4C9745 #457597
split-complementary
#904597 #759745 #459767
monochromatic
#401F43 #68326D #904597 #B062B7 #C58CCA

Accessibility & contrast

On white

6.03
#904597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#904597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904597
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904597#FFFFFF#000000##FFFFFF
##9045971.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#935067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #904597;
/* rgb */ color: rgb(144, 69, 151);
/* oklch */ color: oklch(51.7% 0.147 324.1);
Tailwind
colors: {
  custom: {
    50: '#b37cb6',
    500: '#904597',
    950: '#000000',
  },
}
SCSS
$custom: #904597;
$custom-light: #b37cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#904597",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 151
  },
  "hsl": {
    "h": 294.878,
    "s": 37.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.14746,
    "h": 324.1
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#904597
secondary
#86B682
accent
#CD5B64
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #904597

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

Preview Lab → · Contrast checker → · Palette generator →

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