#905B9A#905B9A

#905B9A is a mid, moderate purple. Relative luminance 0.157; OKLCH L 55.3% C 0.112 H 321.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#905B9A
RGBrgb(144, 91, 154)
HSLhsl(290, 26%, 48%)
HSVhsv(290, 41%, 60%)
CMYKcmyk(6.5%, 40.9%, 0%, 39.6%)
CIE-LABlab(46.64, 32.64, -25.66)
CIE-LCHlch(46.64, 41.51, 321.83°)
OKLaboklab(55.32% 0.0872 -0.0704)
OKLCHoklch(55.32% 0.112 321.1)
XYZxyz(21.0747, 15.7453, 32.4946)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905B9A #659A5B
analogous
#705B9A #905B9A #9A5B84
triadic
#905B9A #9A905B #5B9A90
tetradic
#905B9A #9A705B #659A5B #5B849A
square
#905B9A #9A705B #659A5B #5B849A
split-complementary
#905B9A #849A5B #5B9A70
monochromatic
#482E4D #6C4474 #905B9A #AB7FB3 #C4A5CA

Accessibility & contrast

On white

5.06
#905B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#905B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905B9A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905B9A#FFFFFF#000000##FFFFFF
##905B9A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536B9C
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#916273
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #905b9a;
/* rgb */ color: rgb(144, 91, 154);
/* oklch */ color: oklch(55.3% 0.112 321.1);
Tailwind
colors: {
  custom: {
    50: '#b28ab8',
    500: '#905b9a',
    950: '#000000',
  },
}
SCSS
$custom: #905b9a;
$custom-light: #b28ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#905b9a",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 154
  },
  "hsl": {
    "h": 290.476,
    "s": 25.714,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.11206,
    "h": 321.1
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#905B9A
secondary
#9EB899
accent
#C26674
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #905B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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