#905B8A#905B8A

#905B8A is a mid, moderate purple. Relative luminance 0.152; OKLCH L 54.6% C 0.095 H 330.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#905B8A
RGBrgb(144, 91, 138)
HSLhsl(307, 23%, 46%)
HSVhsv(307, 37%, 56%)
CMYKcmyk(0%, 36.8%, 4.2%, 43.5%)
CIE-LABlab(45.97, 29.43, -17.13)
CIE-LCHlch(45.97, 34.06, 329.79°)
OKLaboklab(54.6% 0.0831 -0.0463)
OKLCHoklch(54.6% 0.095 330.9)
XYZxyz(19.8299, 15.2473, 25.9383)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905B8A #5B9061
analogous
#7B5B90 #905B8A #905B6F
triadic
#905B8A #8A905B #5B8A90
tetradic
#905B8A #907B5B #5B9061 #5B6F90
square
#905B8A #907B5B #5B9061 #5B6F90
split-complementary
#905B8A #6F905B #5B907B
monochromatic
#452C42 #6A4366 #905B8A #AC7CA7 #C4A1C0

Accessibility & contrast

On white

5.19
#905B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#905B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905B8A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905B8A#FFFFFF#000000##FFFFFF
##905B8A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#677088
Tritanopia (blue-blind)
#945E6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #905b8a;
/* rgb */ color: rgb(144, 91, 138);
/* oklch */ color: oklch(54.6% 0.095 330.9);
Tailwind
colors: {
  custom: {
    50: '#b18aac',
    500: '#905b8a',
    950: '#000000',
  },
}
SCSS
$custom: #905b8a;
$custom-light: #b18aac;
$custom-dark: #000000;
JSON
{
  "hex": "#905b8a",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 306.792,
    "s": 22.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.09514,
    "h": 330.9
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#905B8A
secondary
#95B298
accent
#BF7369
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#110C10
muted
#807D7F

Preview Lab

Preview with #905B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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