#905F9B#905F9B

#905F9B is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.1% C 0.106 H 320.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#905F9B
RGBrgb(144, 95, 155)
HSLhsl(289, 24%, 49%)
HSVhsv(289, 39%, 61%)
CMYKcmyk(7.1%, 38.7%, 0%, 39.2%)
CIE-LABlab(47.60, 30.56, -24.76)
CIE-LCHlch(47.60, 39.33, 320.99°)
OKLaboklab(56.06% 0.0812 -0.0679)
OKLCHoklch(56.06% 0.106 320.1)
XYZxyz(21.5095, 16.4809, 33.0521)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905F9B #6A9B5F
analogous
#725F9B #905F9B #9B5F88
triadic
#905F9B #9B905F #5F9B90
tetradic
#905F9B #9B725F #6A9B5F #5F889B
square
#905F9B #9B725F #6A9B5F #5F889B
split-complementary
#905F9B #889B5F #5F9B72
monochromatic
#49304F #6D4875 #905F9B #AB84B3 #C5AACB

Accessibility & contrast

On white

4.89
#905F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#905F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905F9B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905F9B#FFFFFF#000000##FFFFFF
##905F9B1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576E9D
Deuteranopia (green-blind)
#647399
Tritanopia (blue-blind)
#916676
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #905f9b;
/* rgb */ color: rgb(144, 95, 155);
/* oklch */ color: oklch(56.1% 0.106 320.1);
Tailwind
colors: {
  custom: {
    50: '#b18db8',
    500: '#905f9b',
    950: '#000000',
  },
}
SCSS
$custom: #905f9b;
$custom-light: #b18db8;
$custom-dark: #000000;
JSON
{
  "hex": "#905f9b",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 155
  },
  "hsl": {
    "h": 289,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.10583,
    "h": 320.1
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#905F9B
secondary
#A2B99D
accent
#C06778
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #905F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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