#905AAA#905AAA

#905AAA is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.0% C 0.132 H 313.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#905AAA
RGBrgb(144, 90, 170)
HSLhsl(281, 32%, 51%)
HSVhsv(281, 47%, 67%)
CMYKcmyk(15.3%, 47.1%, 0%, 33.3%)
CIE-LABlab(47.16, 36.65, -34.29)
CIE-LCHlch(47.16, 50.18, 316.90°)
OKLaboklab(55.96% 0.0917 -0.0952)
OKLCHoklch(55.96% 0.132 313.9)
XYZxyz(22.4123, 16.1444, 39.9580)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AAA #74AA5A
analogous
#685AAA #905AAA #AA5A9C
triadic
#905AAA #AA905A #5AAA90
tetradic
#905AAA #AA685A #74AA5A #5A9CAA
square
#905AAA #AA685A #74AA5A #5A9CAA
split-complementary
#905AAA #9CAA5A #5AAA68
monochromatic
#4D2F5B #6F4483 #905AAA #AB82BF #C6ABD4

Accessibility & contrast

On white

4.97
#905AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#905AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905AAA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AAA#FFFFFF#000000##FFFFFF
##905AAA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAD
Deuteranopia (green-blind)
#5971A8
Tritanopia (blue-blind)
#8E667A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #905aaa;
/* rgb */ color: rgb(144, 90, 170);
/* oklch */ color: oklch(56.0% 0.132 313.9);
Tailwind
colors: {
  custom: {
    50: '#b28ac3',
    500: '#905aaa',
    950: '#000000',
  },
}
SCSS
$custom: #905aaa;
$custom-light: #b28ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#905aaa",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 280.5,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.13219,
    "h": 313.9
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#905AAA
secondary
#AAC29E
accent
#C86082
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #905AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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