#905FA7#905FA7

#905FA7 is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.6% C 0.120 H 314.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#905FA7
RGBrgb(144, 95, 167)
HSLhsl(281, 29%, 51%)
HSVhsv(281, 43%, 65%)
CMYKcmyk(13.8%, 43.1%, 0%, 34.5%)
CIE-LABlab(48.14, 33.15, -31.00)
CIE-LCHlch(48.14, 45.38, 316.92°)
OKLaboklab(56.64% 0.0838 -0.0858)
OKLCHoklch(56.64% 0.12 314.3)
XYZxyz(22.5677, 16.9043, 38.6257)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905FA7 #76A75F
analogous
#6C5FA7 #905FA7 #A75F9A
triadic
#905FA7 #A7905F #5FA790
tetradic
#905FA7 #A76C5F #76A75F #5F9AA7
square
#905FA7 #A76C5F #76A75F #5F9AA7
split-complementary
#905FA7 #9AA75F #5FA76C
monochromatic
#4D325A #6F4782 #905FA7 #AB86BD #C7AED2

Accessibility & contrast

On white

4.79
#905FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#905FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905FA7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905FA7#FFFFFF#000000##FFFFFF
##905FA71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526FAA
Deuteranopia (green-blind)
#5E74A5
Tritanopia (blue-blind)
#8E697B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905fa7;
/* rgb */ color: rgb(144, 95, 167);
/* oklch */ color: oklch(56.6% 0.120 314.3);
Tailwind
colors: {
  custom: {
    50: '#b28dc1',
    500: '#905fa7',
    950: '#000000',
  },
}
SCSS
$custom: #905fa7;
$custom-light: #b28dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#905fa7",
  "rgb": {
    "r": 144,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 280.833,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.11986,
    "h": 314.3
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#905FA7
secondary
#ABC1A1
accent
#C56282
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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