#905CA2#905CA2

#905CA2 is a mid, moderate purple. Relative luminance 0.162; OKLCH L 55.9% C 0.119 H 317.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#905CA2
RGBrgb(144, 92, 162)
HSLhsl(285, 28%, 50%)
HSVhsv(285, 43%, 64%)
CMYKcmyk(11.1%, 43.2%, 0%, 36.5%)
CIE-LABlab(47.23, 33.77, -29.48)
CIE-LCHlch(47.23, 44.82, 318.88°)
OKLaboklab(55.88% 0.0873 -0.0814)
OKLCHoklch(55.88% 0.119 317)
XYZxyz(21.8494, 16.1928, 36.1500)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CA2 #6EA25C
analogous
#6D5CA2 #905CA2 #A25C91
triadic
#905CA2 #A2905C #5CA290
tetradic
#905CA2 #A26D5C #6EA25C #5C91A2
square
#905CA2 #A26D5C #6EA25C #5C91A2
split-complementary
#905CA2 #91A25C #5CA26D
monochromatic
#4B3054 #6D467B #905CA2 #AB83B8 #C5AACF

Accessibility & contrast

On white

4.95
#905CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#905CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CA2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CA2#FFFFFF#000000##FFFFFF
##905CA21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#906577
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #905ca2;
/* rgb */ color: rgb(144, 92, 162);
/* oklch */ color: oklch(55.9% 0.119 317.0);
Tailwind
colors: {
  custom: {
    50: '#b28bbe',
    500: '#905ca2',
    950: '#000000',
  },
}
SCSS
$custom: #905ca2;
$custom-light: #b28bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#905ca2",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 284.571,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.11934,
    "h": 317
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#905CA2
secondary
#A5BD9D
accent
#C4647D
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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