#905CD1#905CD1
#905CD1 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.175 H 301.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #905CD1 |
|---|---|
| RGB | rgb(144, 92, 209) |
| HSL | hsl(267, 56%, 59%) |
| HSV | hsv(267, 56%, 82%) |
| CMYK | cmyk(31.1%, 56%, 0%, 18%) |
| CIE-LAB | lab(49.72, 44.73, -52.82) |
| CIE-LCH | lch(49.72, 69.21, 310.26°) |
| OKLab | oklab(58.54% 0.0923 -0.1493) |
| OKLCH | oklch(58.54% 0.176 301.7) |
| XYZ | xyz(26.8347, 18.1870, 62.4059) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.87
Amethyst
#9B5FC0
ΔE00 4.45
Deep Lavender
#8D5EB7
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 4.68
Lighter Purple
#A55AF4
ΔE00 5.88
Mediumpurple
#9370DB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905CD1 #9DD15C
analogous
#5C63D1 #905CD1 #CB5CD1
triadic
#905CD1 #D1905C #5CD190
tetradic
#905CD1 #D15C63 #9DD15C #5CD1CB
square
#905CD1 #D15C63 #9DD15C #5CD1CB
split-complementary
#905CD1 #D1CB5C #63D15C
monochromatic
#54278B #7035BB #905CD1 #B18CDE #D1BBEC
Accessibility & contrast
On white
4.53
#905CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#905CD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905CD1
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905CD1 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B75D5
Deuteranopia (green-blind)
#3F76CE
Tritanopia (blue-blind)
#83738E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #905cd1; /* rgb */ color: rgb(144, 92, 209); /* oklch */ color: oklch(58.5% 0.175 301.7);
Tailwind
colors: {
custom: {
50: '#b48ce0',
500: '#905cd1',
950: '#000000',
},
}SCSS
$custom: #905cd1; $custom-light: #b48ce0; $custom-dark: #000000;
JSON
{
"hex": "#905cd1",
"rgb": {
"r": 144,
"g": 92,
"b": 209
},
"hsl": {
"h": 266.667,
"s": 55.981,
"l": 59.02
},
"oklch": {
"l": 0.58543,
"c": 0.1755,
"h": 301.7
},
"luminance": 0.18187
}Semantic roles & 50–950 ramp
primary
#905CD1
secondary
#C7DBAD
accent
#DF499C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83