#905C8D#905C8D

#905C8D is a mid, moderate purple. Relative luminance 0.155; OKLCH L 54.9% C 0.096 H 328.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#905C8D
RGBrgb(144, 92, 141)
HSLhsl(303, 22%, 46%)
HSVhsv(303, 36%, 56%)
CMYKcmyk(0%, 36.1%, 2.1%, 43.5%)
CIE-LABlab(46.32, 29.44, -18.40)
CIE-LCHlch(46.32, 34.72, 328.00°)
OKLaboklab(54.9% 0.0823 -0.0498)
OKLCHoklch(54.9% 0.096 328.8)
XYZxyz(20.1361, 15.5075, 27.1267)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905C8D #5C905F
analogous
#795C90 #905C8D #905C73
triadic
#905C8D #8D905C #5C8D90
tetradic
#905C8D #90795C #5C905F #5C7390
square
#905C8D #90795C #5C905F #5C7390
split-complementary
#905C8D #73905C #5C9079
monochromatic
#452C44 #6B4468 #905C8D #AC7DA9 #C4A2C2

Accessibility & contrast

On white

5.12
#905C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#905C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905C8D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905C8D#FFFFFF#000000##FFFFFF
##905C8D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698F
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#94606E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #905c8d;
/* rgb */ color: rgb(144, 92, 141);
/* oklch */ color: oklch(54.9% 0.096 328.8);
Tailwind
colors: {
  custom: {
    50: '#b18bae',
    500: '#905c8d',
    950: '#000000',
  },
}
SCSS
$custom: #905c8d;
$custom-light: #b18bae;
$custom-dark: #000000;
JSON
{
  "hex": "#905c8d",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 303.462,
    "s": 22.034,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.09625,
    "h": 328.8
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#905C8D
secondary
#96B297
accent
#BF6E69
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #905C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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