#904D97#904D97

#904D97 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.9% C 0.134 H 323.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#904D97
RGBrgb(144, 77, 151)
HSLhsl(294, 32%, 45%)
HSVhsv(294, 49%, 59%)
CMYKcmyk(4.6%, 49%, 0%, 40.8%)
CIE-LABlab(43.47, 39.78, -28.81)
CIE-LCHlch(43.47, 49.12, 324.09°)
OKLaboklab(52.91% 0.1079 -0.0793)
OKLCHoklch(52.91% 0.134 323.7)
XYZxyz(19.7409, 13.4723, 30.8327)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904D97 #54974D
analogous
#6B4D97 #904D97 #974D79
triadic
#904D97 #97904D #4D9790
tetradic
#904D97 #976B4D #54974D #4D7997
square
#904D97 #976B4D #54974D #4D7997
split-complementary
#904D97 #79974D #4D976B
monochromatic
#432446 #69386E #904D97 #AE6DB4 #C495C9

Accessibility & contrast

On white

5.68
#904D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#904D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904D97
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904D97#FFFFFF#000000##FFFFFF
##904D971.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#92566B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #904d97;
/* rgb */ color: rgb(144, 77, 151);
/* oklch */ color: oklch(52.9% 0.134 323.7);
Tailwind
colors: {
  custom: {
    50: '#b281b6',
    500: '#904d97',
    950: '#000000',
  },
}
SCSS
$custom: #904d97;
$custom-light: #b281b6;
$custom-dark: #000000;
JSON
{
  "hex": "#904d97",
  "rgb": {
    "r": 144,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 294.324,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.13392,
    "h": 323.7
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#904D97
secondary
#8EB68A
accent
#C95F69
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #904D97

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

Preview Lab → · Contrast checker → · Palette generator →

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