#905AA6#905AA6

#905AA6 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 55.7% C 0.128 H 315.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#905AA6
RGBrgb(144, 90, 166)
HSLhsl(283, 30%, 50%)
HSVhsv(283, 46%, 65%)
CMYKcmyk(13.3%, 45.8%, 0%, 34.9%)
CIE-LABlab(46.97, 35.76, -32.24)
CIE-LCHlch(46.97, 48.15, 317.97°)
OKLaboklab(55.75% 0.0911 -0.0893)
OKLCHoklch(55.75% 0.128 315.6)
XYZxyz(22.0396, 15.9954, 37.9954)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AA6 #70A65A
analogous
#6A5AA6 #905AA6 #A65A96
triadic
#905AA6 #A6905A #5AA690
tetradic
#905AA6 #A66A5A #70A65A #5A96A6
square
#905AA6 #A66A5A #70A65A #5A96A6
split-complementary
#905AA6 #96A65A #5AA66A
monochromatic
#4B2F57 #6E447F #905AA6 #AB82BB #C5AAD1

Accessibility & contrast

On white

5.00
#905AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#905AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905AA6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AA6#FFFFFF#000000##FFFFFF
##905AA61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CA9
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#8F6578
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #905aa6;
/* rgb */ color: rgb(144, 90, 166);
/* oklch */ color: oklch(55.7% 0.128 315.6);
Tailwind
colors: {
  custom: {
    50: '#b28ac0',
    500: '#905aa6',
    950: '#000000',
  },
}
SCSS
$custom: #905aa6;
$custom-light: #b28ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#905aa6",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 282.632,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.12754,
    "h": 315.6
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#905AA6
secondary
#A7BF9D
accent
#C6627F
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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