#905FD3#905FD3
#905FD3 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.173 H 300.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #905FD3 |
|---|---|
| RGB | rgb(144, 95, 211) |
| HSL | hsl(265, 57%, 60%) |
| HSV | hsv(265, 55%, 83%) |
| CMYK | cmyk(31.8%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(50.47, 43.58, -52.76) |
| CIE-LCH | lch(50.47, 68.43, 309.56°) |
| OKLab | oklab(59.13% 0.0886 -0.1491) |
| OKLCH | oklch(59.13% 0.173 300.7) |
| XYZ | xyz(27.3489, 18.8167, 63.8065) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.02
Amethyst
#9B5FC0
ΔE00 4.62
Lightish Purple
#A552E6
ΔE00 4.84
Deep Lavender
#8D5EB7
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 5.08
Lighter Purple
#A55AF4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905FD3 #A2D35F
analogous
#5F68D3 #905FD3 #CA5FD3
triadic
#905FD3 #D3905F #5FD390
tetradic
#905FD3 #D35F68 #A2D35F #5FD3CA
square
#905FD3 #D35F68 #A2D35F #5FD3CA
split-complementary
#905FD3 #D3CA5F #68D35F
monochromatic
#542890 #7035C0 #905FD3 #B18FE0 #D3BFED
Accessibility & contrast
On white
4.41
#905FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#905FD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905FD3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905FD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905FD3 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3078D7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#827690
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #905fd3; /* rgb */ color: rgb(144, 95, 211); /* oklch */ color: oklch(59.1% 0.173 300.7);
Tailwind
colors: {
custom: {
50: '#b48ee1',
500: '#905fd3',
950: '#000000',
},
}SCSS
$custom: #905fd3; $custom-light: #b48ee1; $custom-dark: #000000;
JSON
{
"hex": "#905fd3",
"rgb": {
"r": 144,
"g": 95,
"b": 211
},
"hsl": {
"h": 265.345,
"s": 56.863,
"l": 60
},
"oklch": {
"l": 0.59133,
"c": 0.17342,
"h": 300.7
},
"luminance": 0.18817
}Semantic roles & 50–950 ramp
primary
#905FD3
secondary
#CADDB1
accent
#E048A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83