#905FD2#905FD2
#905FD2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.172 H 300.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #905FD2 |
|---|---|
| RGB | rgb(144, 95, 210) |
| HSL | hsl(266, 56%, 60%) |
| HSV | hsv(266, 55%, 82%) |
| CMYK | cmyk(31.4%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(50.41, 43.33, -52.28) |
| CIE-LCH | lch(50.41, 67.90, 309.65°) |
| OKLab | oklab(59.07% 0.0885 -0.1477) |
| OKLCH | oklch(59.07% 0.172 300.9) |
| XYZ | xyz(27.2239, 18.7667, 63.1484) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.14
Amethyst
#9B5FC0
ΔE00 4.49
Deep Lavender
#8D5EB7
ΔE00 4.72
Lightish Purple
#A552E6
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.13
Lighter Purple
#A55AF4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905FD2 #A1D25F
analogous
#5F68D2 #905FD2 #CA5FD2
triadic
#905FD2 #D2905F #5FD290
tetradic
#905FD2 #D25F68 #A1D25F #5FD2CA
square
#905FD2 #D25F68 #A1D25F #5FD2CA
split-complementary
#905FD2 #D2CA5F #68D25F
monochromatic
#54288F #7036BE #905FD2 #B18FDF #D2BFED
Accessibility & contrast
On white
4.42
#905FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#905FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905FD2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905FD2 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#4277CF
Tritanopia (blue-blind)
#83768F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #905fd2; /* rgb */ color: rgb(144, 95, 210); /* oklch */ color: oklch(59.1% 0.172 300.9);
Tailwind
colors: {
custom: {
50: '#b48ee0',
500: '#905fd2',
950: '#000000',
},
}SCSS
$custom: #905fd2; $custom-light: #b48ee0; $custom-dark: #000000;
JSON
{
"hex": "#905fd2",
"rgb": {
"r": 144,
"g": 95,
"b": 210
},
"hsl": {
"h": 265.565,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.59071,
"c": 0.17221,
"h": 300.9
},
"luminance": 0.18767
}Semantic roles & 50–950 ramp
primary
#905FD2
secondary
#CADDB0
accent
#DF489F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83