#904F8D#904F8D

#904F8D is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.7% C 0.120 H 328.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#904F8D
RGBrgb(144, 79, 141)
HSLhsl(303, 29%, 44%)
HSVhsv(303, 45%, 56%)
CMYKcmyk(0%, 45.1%, 2.1%, 43.5%)
CIE-LABlab(43.43, 36.74, -22.85)
CIE-LCHlch(43.43, 43.27, 328.12°)
OKLaboklab(52.73% 0.1029 -0.0623)
OKLCHoklch(52.73% 0.12 328.8)
XYZxyz(19.1050, 13.4453, 26.7830)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904F8D #4F9052
analogous
#724F90 #904F8D #904F6C
triadic
#904F8D #8D904F #4F8D90
tetradic
#904F8D #90724F #4F9052 #4F6C90
square
#904F8D #90724F #4F9052 #4F6C90
split-complementary
#904F8D #6C904F #4F9072
monochromatic
#412440 #683966 #904F8D #AF6DAC #C595C2

Accessibility & contrast

On white

5.69
#904F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #904F8D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904F8D#FFFFFF#000000##FFFFFF
##904F8D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#945567
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #904f8d;
/* rgb */ color: rgb(144, 79, 141);
/* oklch */ color: oklch(52.7% 0.120 328.8);
Tailwind
colors: {
  custom: {
    50: '#b282ae',
    500: '#904f8d',
    950: '#000000',
  },
}
SCSS
$custom: #904f8d;
$custom-light: #b282ae;
$custom-dark: #000000;
JSON
{
  "hex": "#904f8d",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 302.769,
    "s": 29.148,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52728,
    "c": 0.12033,
    "h": 328.8
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#904F8D
secondary
#89B18B
accent
#C56762
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #904F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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