#905FA1#905FA1
#905FA1 is a mid, moderate purple. Relative luminance 0.167; OKLCH L 56.3% C 0.113 H 317.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #905FA1 |
|---|---|
| RGB | rgb(144, 95, 161) |
| HSL | hsl(285, 26%, 50%) |
| HSV | hsv(285, 41%, 63%) |
| CMYK | cmyk(10.6%, 41%, 0%, 36.9%) |
| CIE-LAB | lab(47.86, 31.84, -27.89) |
| CIE-LCH | lch(47.86, 42.33, 318.78°) |
| OKLab | oklab(56.34% 0.0825 -0.0768) |
| OKLCH | oklch(56.34% 0.113 317) |
| XYZ | xyz(22.0259, 16.6875, 35.7720) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Dark Lavender
#856798
ΔE00 4.64
Deep Lavender
#8D5EB7
ΔE00 5.17
Dark Lilac
#9C6DA5
ΔE00 5.37
Purplish
#94568C
ΔE00 5.62
Purpleish
#98568D
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905FA1 #70A15F
analogous
#6F5FA1 #905FA1 #A15F91
triadic
#905FA1 #A1905F #5FA190
tetradic
#905FA1 #A16F5F #70A15F #5F91A1
square
#905FA1 #A16F5F #70A15F #5F91A1
split-complementary
#905FA1 #91A15F #5FA16F
monochromatic
#4B3154 #6E487B #905FA1 #AB86B8 #C5ACCE
Accessibility & contrast
On white
4.84
#905FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#905FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905FA1
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905FA1 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556EA3
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#906878
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905fa1; /* rgb */ color: rgb(144, 95, 161); /* oklch */ color: oklch(56.3% 0.113 317.0);
Tailwind
colors: {
custom: {
50: '#b28dbd',
500: '#905fa1',
950: '#000000',
},
}SCSS
$custom: #905fa1; $custom-light: #b28dbd; $custom-dark: #000000;
JSON
{
"hex": "#905fa1",
"rgb": {
"r": 144,
"g": 95,
"b": 161
},
"hsl": {
"h": 284.545,
"s": 25.984,
"l": 50.196
},
"oklch": {
"l": 0.56344,
"c": 0.11277,
"h": 317
},
"luminance": 0.16687
}Semantic roles & 50–950 ramp
primary
#905FA1
secondary
#A7BD9F
accent
#C2657D
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81