#905CC7#905CC7
#905CC7 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.163 H 304.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #905CC7 |
|---|---|
| RGB | rgb(144, 92, 199) |
| HSL | hsl(269, 49%, 57%) |
| HSV | hsv(269, 54%, 78%) |
| CMYK | cmyk(27.6%, 53.8%, 0%, 22%) |
| CIE-LAB | lab(49.14, 42.28, -48.02) |
| CIE-LCH | lch(49.14, 63.98, 311.36°) |
| OKLab | oklab(57.93% 0.0919 -0.1352) |
| OKLCH | oklch(57.93% 0.163 304.2) |
| XYZ | xyz(25.6353, 17.7072, 56.0891) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.93
Amethyst
#9B5FC0
ΔE00 3.24
Purpley
#8756E4
ΔE00 5.34
Lightish Purple
#A552E6
ΔE00 5.66
Deep Lilac
#966EBD
ΔE00 6.25
Mediumpurple
#9370DB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CC7 #93C75C
analogous
#5C5EC7 #905CC7 #C55CC7
triadic
#905CC7 #C7905C #5CC790
tetradic
#905CC7 #C75C5E #93C75C #5CC7C5
square
#905CC7 #C75C5E #93C75C #5CC7C5
split-complementary
#905CC7 #C7C55C #5EC75C
monochromatic
#532B7D #713BAB #905CC7 #AF8AD7 #CEB7E6
Accessibility & contrast
On white
4.62
#905CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#905CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #905CC7
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##905CC7 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3773CB
Deuteranopia (green-blind)
#4875C4
Tritanopia (blue-blind)
#867089
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #905cc7; /* rgb */ color: rgb(144, 92, 199); /* oklch */ color: oklch(57.9% 0.163 304.2);
Tailwind
colors: {
custom: {
50: '#b38cd8',
500: '#905cc7',
950: '#000000',
},
}SCSS
$custom: #905cc7; $custom-light: #b38cd8; $custom-dark: #000000;
JSON
{
"hex": "#905cc7",
"rgb": {
"r": 144,
"g": 92,
"b": 199
},
"hsl": {
"h": 269.159,
"s": 48.858,
"l": 57.059
},
"oklch": {
"l": 0.57925,
"c": 0.16349,
"h": 304.2
},
"luminance": 0.17707
}Semantic roles & 50–950 ramp
primary
#905CC7
secondary
#C0D5AA
accent
#D84F96
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83