#905BA5#905BA5

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

Color values

HEX#905BA5
RGBrgb(144, 91, 165)
HSLhsl(283, 29%, 50%)
HSVhsv(283, 45%, 65%)
CMYKcmyk(12.7%, 44.8%, 0%, 35.3%)
CIE-LABlab(47.14, 34.98, -31.38)
CIE-LCHlch(47.14, 46.99, 318.11°)
OKLaboklab(55.86% 0.0894 -0.0868)
OKLCHoklch(55.86% 0.125 315.8)
XYZxyz(22.0332, 16.1287, 37.5425)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BA5 #70A55B
analogous
#6B5BA5 #905BA5 #A55B95
triadic
#905BA5 #A5905B #5BA590
tetradic
#905BA5 #A56B5B #70A55B #5B95A5
square
#905BA5 #A56B5B #70A55B #5B95A5
split-complementary
#905BA5 #95A55B #5BA56B
monochromatic
#4B2F56 #6E457E #905BA5 #AB83BB #C5AAD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905BA5#FFFFFF#000000##FFFFFF
##905BA51.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)
#4E6DA8
Deuteranopia (green-blind)
#5C71A3
Tritanopia (blue-blind)
#8F6578
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #905ba5;
/* rgb */ color: rgb(144, 91, 165);
/* oklch */ color: oklch(55.9% 0.125 315.8);
Tailwind
colors: {
  custom: {
    50: '#b28bc0',
    500: '#905ba5',
    950: '#000000',
  },
}
SCSS
$custom: #905ba5;
$custom-light: #b28bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#905ba5",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 282.973,
    "s": 29.134,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.12461,
    "h": 315.8
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#905BA5
secondary
#A7BE9D
accent
#C5627E
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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