#905C8A#905C8A

#905C8A is a mid, moderate purple. Relative luminance 0.154; OKLCH L 54.8% C 0.093 H 330.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#905C8A
RGBrgb(144, 92, 138)
HSLhsl(307, 22%, 46%)
HSVhsv(307, 36%, 56%)
CMYKcmyk(0%, 36.1%, 4.2%, 43.5%)
CIE-LABlab(46.20, 28.86, -16.78)
CIE-LCHlch(46.20, 33.38, 329.82°)
OKLaboklab(54.77% 0.0815 -0.0453)
OKLCHoklch(54.77% 0.093 330.9)
XYZxyz(19.9159, 15.4194, 25.9670)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905C8A #5C9062
analogous
#7C5C90 #905C8A #905C70
triadic
#905C8A #8A905C #5C8A90
tetradic
#905C8A #907C5C #5C9062 #5C7090
square
#905C8A #907C5C #5C9062 #5C7090
split-complementary
#905C8A #70905C #5C907C
monochromatic
#452C42 #6B4466 #905C8A #AC7DA7 #C4A2C0

Accessibility & contrast

On white

5.14
#905C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#905C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905C8A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905C8A#FFFFFF#000000##FFFFFF
##905C8A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#945F6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #905c8a;
/* rgb */ color: rgb(144, 92, 138);
/* oklch */ color: oklch(54.8% 0.093 330.9);
Tailwind
colors: {
  custom: {
    50: '#b18bac',
    500: '#905c8a',
    950: '#000000',
  },
}
SCSS
$custom: #905c8a;
$custom-light: #b18bac;
$custom-dark: #000000;
JSON
{
  "hex": "#905c8a",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 306.923,
    "s": 22.034,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.09324,
    "h": 330.9
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#905C8A
secondary
#96B299
accent
#BF7369
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #905C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#905C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva