#904F97#904F97

#904F97 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.2% C 0.130 H 323.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#904F97
RGBrgb(144, 79, 151)
HSLhsl(294, 31%, 45%)
HSVhsv(294, 48%, 59%)
CMYKcmyk(4.6%, 47.7%, 0%, 40.8%)
CIE-LABlab(43.88, 38.70, -28.16)
CIE-LCHlch(43.88, 47.86, 323.96°)
OKLaboklab(53.22% 0.1049 -0.0775)
OKLCHoklch(53.22% 0.13 323.6)
XYZxyz(19.8829, 13.7565, 30.8801)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904F97 #56974F
analogous
#6C4F97 #904F97 #974F7A
triadic
#904F97 #97904F #4F9790
tetradic
#904F97 #976C4F #56974F #4F7A97
square
#904F97 #976C4F #56974F #4F7A97
split-complementary
#904F97 #7A974F #4F976C
monochromatic
#432547 #6A3A6F #904F97 #AD6FB4 #C498C9

Accessibility & contrast

On white

5.60
#904F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#904F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904F97
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904F97#FFFFFF#000000##FFFFFF
##904F971.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466399
Deuteranopia (green-blind)
#596A95
Tritanopia (blue-blind)
#92586C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #904f97;
/* rgb */ color: rgb(144, 79, 151);
/* oklch */ color: oklch(53.2% 0.130 323.6);
Tailwind
colors: {
  custom: {
    50: '#b282b6',
    500: '#904f97',
    950: '#000000',
  },
}
SCSS
$custom: #904f97;
$custom-light: #b282b6;
$custom-dark: #000000;
JSON
{
  "hex": "#904f97",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 294.167,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.13041,
    "h": 323.6
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#904F97
secondary
#90B68C
accent
#C7606A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #904F97

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

Preview Lab → · Contrast checker → · Palette generator →

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