#905EA2#905EA2

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

Color values

HEX#905EA2
RGBrgb(144, 94, 162)
HSLhsl(284, 27%, 50%)
HSVhsv(284, 42%, 64%)
CMYKcmyk(11.1%, 42%, 0%, 36.5%)
CIE-LABlab(47.68, 32.63, -28.77)
CIE-LCHlch(47.68, 43.50, 318.60°)
OKLaboklab(56.22% 0.0843 -0.0793)
OKLCHoklch(56.22% 0.116 316.7)
XYZxyz(22.0249, 16.5439, 36.2085)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EA2 #70A25E
analogous
#6E5EA2 #905EA2 #A25E92
triadic
#905EA2 #A2905E #5EA290
tetradic
#905EA2 #A26E5E #70A25E #5E92A2
square
#905EA2 #A26E5E #70A25E #5E92A2
split-complementary
#905EA2 #92A25E #5EA26E
monochromatic
#4B3155 #6E477B #905EA2 #AB85B8 #C5ACCF

Accessibility & contrast

On white

4.87
#905EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#905EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905EA2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EA2#FFFFFF#000000##FFFFFF
##905EA21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#906778
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #905ea2;
/* rgb */ color: rgb(144, 94, 162);
/* oklch */ color: oklch(56.2% 0.116 316.7);
Tailwind
colors: {
  custom: {
    50: '#b28dbe',
    500: '#905ea2',
    950: '#000000',
  },
}
SCSS
$custom: #905ea2;
$custom-light: #b28dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#905ea2",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 284.118,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.11575,
    "h": 316.7
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#905EA2
secondary
#A7BD9F
accent
#C3657E
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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