#904F99#904F99

#904F99 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.3% C 0.133 H 322.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#904F99
RGBrgb(144, 79, 153)
HSLhsl(293, 32%, 45%)
HSVhsv(293, 48%, 60%)
CMYKcmyk(5.9%, 48.4%, 0%, 40%)
CIE-LABlab(43.98, 39.11, -29.21)
CIE-LCHlch(43.98, 48.81, 323.25°)
OKLaboklab(53.32% 0.1053 -0.0805)
OKLCHoklch(53.32% 0.133 322.6)
XYZxyz(20.0467, 13.8220, 31.7428)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904F99 #58994F
analogous
#6B4F99 #904F99 #994F7D
triadic
#904F99 #99904F #4F9990
tetradic
#904F99 #996B4F #58994F #4F7D99
square
#904F99 #996B4F #58994F #4F7D99
split-complementary
#904F99 #7D994F #4F996B
monochromatic
#442548 #6A3A71 #904F99 #AD70B5 #C498CA

Accessibility & contrast

On white

5.58
#904F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#904F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904F99
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904F99#FFFFFF#000000##FFFFFF
##904F991.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#92586D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #904f99;
/* rgb */ color: rgb(144, 79, 153);
/* oklch */ color: oklch(53.3% 0.133 322.6);
Tailwind
colors: {
  custom: {
    50: '#b283b7',
    500: '#904f99',
    950: '#000000',
  },
}
SCSS
$custom: #904f99;
$custom-light: #b283b7;
$custom-dark: #000000;
JSON
{
  "hex": "#904f99",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 292.703,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.1325,
    "h": 322.6
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#904F99
secondary
#92B78D
accent
#C8606C
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #904F99

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

Preview Lab → · Contrast checker → · Palette generator →

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