#905AA2#905AA2

#905AA2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 55.5% C 0.123 H 317.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#905AA2
RGBrgb(144, 90, 162)
HSLhsl(285, 29%, 49%)
HSVhsv(285, 44%, 64%)
CMYKcmyk(11.1%, 44.4%, 0%, 36.5%)
CIE-LABlab(46.78, 34.90, -30.18)
CIE-LCHlch(46.78, 46.13, 319.15°)
OKLaboklab(55.55% 0.0903 -0.0834)
OKLCHoklch(55.55% 0.123 317.3)
XYZxyz(21.6784, 15.8509, 36.0930)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AA2 #6CA25A
analogous
#6C5AA2 #905AA2 #A25A90
triadic
#905AA2 #A2905A #5AA290
tetradic
#905AA2 #A26C5A #6CA25A #5A90A2
square
#905AA2 #A26C5A #6CA25A #5A90A2
split-complementary
#905AA2 #90A25A #5AA26C
monochromatic
#4A2E53 #6D447B #905AA2 #AB80B9 #C5A8CF

Accessibility & contrast

On white

5.04
#905AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#905AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905AA2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AA2#FFFFFF#000000##FFFFFF
##905AA21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA5
Deuteranopia (green-blind)
#5C71A0
Tritanopia (blue-blind)
#906476
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #905aa2;
/* rgb */ color: rgb(144, 90, 162);
/* oklch */ color: oklch(55.5% 0.123 317.3);
Tailwind
colors: {
  custom: {
    50: '#b28abe',
    500: '#905aa2',
    950: '#000000',
  },
}
SCSS
$custom: #905aa2;
$custom-light: #b28abe;
$custom-dark: #000000;
JSON
{
  "hex": "#905aa2",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.12292,
    "h": 317.3
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#905AA2
secondary
#A4BD9B
accent
#C5637B
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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