#905CA6#905CA6

#905CA6 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.1% C 0.124 H 315.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#905CA6
RGBrgb(144, 92, 166)
HSLhsl(282, 29%, 51%)
HSVhsv(282, 45%, 65%)
CMYKcmyk(13.3%, 44.6%, 0%, 34.9%)
CIE-LABlab(47.41, 34.64, -31.54)
CIE-LCHlch(47.41, 46.85, 317.68°)
OKLaboklab(56.08% 0.0881 -0.0873)
OKLCHoklch(56.08% 0.124 315.2)
XYZxyz(22.2106, 16.3373, 38.0524)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CA6 #72A65C
analogous
#6B5CA6 #905CA6 #A65C97
triadic
#905CA6 #A6905C #5CA690
tetradic
#905CA6 #A66B5C #72A65C #5C97A6
square
#905CA6 #A66B5C #72A65C #5C97A6
split-complementary
#905CA6 #97A65C #5CA66B
monochromatic
#4C3058 #6E467F #905CA6 #AB84BC #C6ABD1

Accessibility & contrast

On white

4.92
#905CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#905CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CA6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CA6#FFFFFF#000000##FFFFFF
##905CA61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DA9
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#8F6679
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #905ca6;
/* rgb */ color: rgb(144, 92, 166);
/* oklch */ color: oklch(56.1% 0.124 315.2);
Tailwind
colors: {
  custom: {
    50: '#b28bc0',
    500: '#905ca6',
    950: '#000000',
  },
}
SCSS
$custom: #905ca6;
$custom-light: #b28bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#905ca6",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 282.162,
    "s": 29.365,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.12401,
    "h": 315.2
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#905CA6
secondary
#A8BF9E
accent
#C66280
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #905CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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