#905CAF#905CAF
#905CAF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.135 H 311.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #905CAF |
|---|---|
| RGB | rgb(144, 92, 175) |
| HSL | hsl(278, 34%, 52%) |
| HSV | hsv(278, 47%, 69%) |
| CMYK | cmyk(17.7%, 47.4%, 0%, 31.4%) |
| CIE-LAB | lab(47.85, 36.64, -36.13) |
| CIE-LCH | lch(47.85, 51.46, 315.40°) |
| OKLab | oklab(56.55% 0.0895 -0.1006) |
| OKLCH | oklch(56.55% 0.135 311.7) |
| XYZ | xyz(23.0652, 16.6792, 42.5535) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.00
Amethyst
#9B5FC0
ΔE00 3.53
Deep Lilac
#966EBD
ΔE00 5.94
Royal Purple
#7851A9
ΔE00 6.15
Purply
#983FB2
ΔE00 7.09
Medium Purple
#9E43A2
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CAF #7BAF5C
analogous
#675CAF #905CAF #AF5CA5
triadic
#905CAF #AF905C #5CAF90
tetradic
#905CAF #AF675C #7BAF5C #5CA5AF
square
#905CAF #AF675C #7BAF5C #5CA5AF
split-complementary
#905CAF #A5AF5C #5CAF67
monochromatic
#4F3061 #70448A #905CAF #AC85C3 #C8AED7
Accessibility & contrast
On white
4.84
#905CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#905CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #905CAF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CAF | 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)
#496FB2
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#8D697D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #905caf; /* rgb */ color: rgb(144, 92, 175); /* oklch */ color: oklch(56.6% 0.135 311.7);
Tailwind
colors: {
custom: {
50: '#b28bc7',
500: '#905caf',
950: '#000000',
},
}SCSS
$custom: #905caf; $custom-light: #b28bc7; $custom-dark: #000000;
JSON
{
"hex": "#905caf",
"rgb": {
"r": 144,
"g": 92,
"b": 175
},
"hsl": {
"h": 277.59,
"s": 34.156,
"l": 52.353
},
"oklch": {
"l": 0.56554,
"c": 0.13465,
"h": 311.7
},
"luminance": 0.16679
}Semantic roles & 50–950 ramp
primary
#905CAF
secondary
#AFC5A1
accent
#CA5E86
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82