#905B98#905B98

#905B98 is a mid, moderate purple. Relative luminance 0.157; OKLCH L 55.2% C 0.110 H 322.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#905B98
RGBrgb(144, 91, 152)
HSLhsl(292, 25%, 48%)
HSVhsv(292, 40%, 60%)
CMYKcmyk(5.3%, 40.1%, 0%, 40.4%)
CIE-LABlab(46.55, 32.22, -24.60)
CIE-LCHlch(46.55, 40.54, 322.63°)
OKLaboklab(55.23% 0.0867 -0.0674)
OKLCHoklch(55.23% 0.11 322.1)
XYZxyz(20.9095, 15.6792, 31.6246)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905B98 #63985B
analogous
#715B98 #905B98 #985B82
triadic
#905B98 #98905B #5B9890
tetradic
#905B98 #98715B #63985B #5B8298
square
#905B98 #98715B #63985B #5B8298
split-complementary
#905B98 #82985B #5B9871
monochromatic
#472D4B #6C4472 #905B98 #AB7EB2 #C4A5C9

Accessibility & contrast

On white

5.08
#905B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#905B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905B98
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905B98#FFFFFF#000000##FFFFFF
##905B981.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A9A
Deuteranopia (green-blind)
#627096
Tritanopia (blue-blind)
#926272
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #905b98;
/* rgb */ color: rgb(144, 91, 152);
/* oklch */ color: oklch(55.2% 0.110 322.1);
Tailwind
colors: {
  custom: {
    50: '#b18ab6',
    500: '#905b98',
    950: '#000000',
  },
}
SCSS
$custom: #905b98;
$custom-light: #b18ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#905b98",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 152
  },
  "hsl": {
    "h": 292.131,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.10984,
    "h": 322.1
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#905B98
secondary
#9CB798
accent
#C26672
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #905B98

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

Preview Lab → · Contrast checker → · Palette generator →

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