#904B97#904B97

#904B97 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.6% C 0.137 H 323.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#904B97
RGBrgb(144, 75, 151)
HSLhsl(294, 34%, 44%)
HSVhsv(294, 50%, 59%)
CMYKcmyk(4.6%, 50.3%, 0%, 40.8%)
CIE-LABlab(43.06, 40.85, -29.45)
CIE-LCHlch(43.06, 50.36, 324.22°)
OKLaboklab(52.61% 0.1108 -0.0811)
OKLCHoklch(52.61% 0.137 323.8)
XYZxyz(19.6031, 13.1967, 30.7868)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904B97 #52974B
analogous
#6A4B97 #904B97 #974B78
triadic
#904B97 #97904B #4B9790
tetradic
#904B97 #976A4B #52974B #4B7897
square
#904B97 #976A4B #52974B #4B7897
split-complementary
#904B97 #78974B #4B976A
monochromatic
#422245 #69376E #904B97 #AE6AB5 #C493C9

Accessibility & contrast

On white

5.77
#904B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#904B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904B97
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904B97#FFFFFF#000000##FFFFFF
##904B971.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41609A
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#92546A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #904b97;
/* rgb */ color: rgb(144, 75, 151);
/* oklch */ color: oklch(52.6% 0.137 323.8);
Tailwind
colors: {
  custom: {
    50: '#b280b6',
    500: '#904b97',
    950: '#000000',
  },
}
SCSS
$custom: #904b97;
$custom-light: #b280b6;
$custom-dark: #000000;
JSON
{
  "hex": "#904b97",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 294.474,
    "s": 33.628,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.13737,
    "h": 323.8
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#904B97
secondary
#8CB688
accent
#CA5E68
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #904B97

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

Preview Lab → · Contrast checker → · Palette generator →

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