#905EA1#905EA1

#905EA1 is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.2% C 0.115 H 317.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#905EA1
RGBrgb(144, 94, 161)
HSLhsl(285, 26%, 50%)
HSVhsv(285, 42%, 63%)
CMYKcmyk(10.6%, 41.6%, 0%, 36.9%)
CIE-LABlab(47.63, 32.41, -28.25)
CIE-LCHlch(47.63, 43.00, 318.92°)
OKLaboklab(56.17% 0.0841 -0.0779)
OKLCHoklch(56.17% 0.115 317.2)
XYZxyz(21.9364, 16.5085, 35.7422)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EA1 #6FA15E
analogous
#6E5EA1 #905EA1 #A15E91
triadic
#905EA1 #A1905E #5EA190
tetradic
#905EA1 #A16E5E #6FA15E #5E91A1
square
#905EA1 #A16E5E #6FA15E #5E91A1
split-complementary
#905EA1 #91A15E #5EA16E
monochromatic
#4B3154 #6D477A #905EA1 #AB85B8 #C5ABCE

Accessibility & contrast

On white

4.88
#905EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#905EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905EA1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EA1#FFFFFF#000000##FFFFFF
##905EA11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA3
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#906778
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #905ea1;
/* rgb */ color: rgb(144, 94, 161);
/* oklch */ color: oklch(56.2% 0.115 317.2);
Tailwind
colors: {
  custom: {
    50: '#b28dbd',
    500: '#905ea1',
    950: '#000000',
  },
}
SCSS
$custom: #905ea1;
$custom-light: #b28dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#905ea1",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 284.776,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.11459,
    "h": 317.2
  },
  "luminance": 0.16508
}

Semantic roles & 50–950 ramp

primary
#905EA1
secondary
#A6BC9E
accent
#C3657D
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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