#905EA7#905EA7

#905EA7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.5% C 0.122 H 314.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#905EA7
RGBrgb(144, 94, 167)
HSLhsl(281, 29%, 51%)
HSVhsv(281, 44%, 65%)
CMYKcmyk(13.8%, 43.7%, 0%, 34.5%)
CIE-LABlab(47.91, 33.72, -31.35)
CIE-LCHlch(47.91, 46.04, 317.09°)
OKLaboklab(56.47% 0.0853 -0.0868)
OKLCHoklch(56.47% 0.122 314.5)
XYZxyz(22.4782, 16.7253, 38.5959)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EA7 #75A75E
analogous
#6B5EA7 #905EA7 #A75E99
triadic
#905EA7 #A7905E #5EA790
tetradic
#905EA7 #A76B5E #75A75E #5E99A7
square
#905EA7 #A76B5E #75A75E #5E99A7
split-complementary
#905EA7 #99A75E #5EA76B
monochromatic
#4D315A #6F4781 #905EA7 #AB86BD #C7ADD2

Accessibility & contrast

On white

4.83
#905EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#905EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905EA7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EA7#FFFFFF#000000##FFFFFF
##905EA71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#8E687A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905ea7;
/* rgb */ color: rgb(144, 94, 167);
/* oklch */ color: oklch(56.5% 0.122 314.5);
Tailwind
colors: {
  custom: {
    50: '#b28dc1',
    500: '#905ea7',
    950: '#000000',
  },
}
SCSS
$custom: #905ea7;
$custom-light: #b28dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#905ea7",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 281.096,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.12164,
    "h": 314.5
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#905EA7
secondary
#AAC1A0
accent
#C66282
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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