#905DC8#905DC8
#905DC8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.163 H 303.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #905DC8 |
|---|---|
| RGB | rgb(144, 93, 200) |
| HSL | hsl(269, 49%, 57%) |
| HSV | hsv(269, 54%, 78%) |
| CMYK | cmyk(28%, 53.5%, 0%, 21.6%) |
| CIE-LAB | lab(49.41, 41.97, -48.16) |
| CIE-LCH | lch(49.41, 63.88, 311.07°) |
| OKLab | oklab(58.14% 0.0907 -0.1356) |
| OKLCH | oklch(58.14% 0.163 303.8) |
| XYZ | xyz(25.8390, 17.9282, 56.7316) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.05
Amethyst
#9B5FC0
ΔE00 3.27
Purpley
#8756E4
ΔE00 5.27
Lightish Purple
#A552E6
ΔE00 5.62
Deep Lilac
#966EBD
ΔE00 6.07
Mediumpurple
#9370DB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905DC8 #95C85D
analogous
#5D60C8 #905DC8 #C65DC8
triadic
#905DC8 #C8905D #5DC890
tetradic
#905DC8 #C85D60 #95C85D #5DC8C6
square
#905DC8 #C85D60 #95C85D #5DC8C6
split-complementary
#905DC8 #C8C65D #60C85D
monochromatic
#532B7F #713BAD #905DC8 #AF8BD8 #CFB8E7
Accessibility & contrast
On white
4.58
#905DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#905DC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905DC8
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905DC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905DC8 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#86718A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #905dc8; /* rgb */ color: rgb(144, 93, 200); /* oklch */ color: oklch(58.1% 0.163 303.8);
Tailwind
colors: {
custom: {
50: '#b38cd9',
500: '#905dc8',
950: '#000000',
},
}SCSS
$custom: #905dc8; $custom-light: #b38cd9; $custom-dark: #000000;
JSON
{
"hex": "#905dc8",
"rgb": {
"r": 144,
"g": 93,
"b": 200
},
"hsl": {
"h": 268.598,
"s": 49.309,
"l": 57.451
},
"oklch": {
"l": 0.58143,
"c": 0.16313,
"h": 303.8
},
"luminance": 0.17928
}Semantic roles & 50–950 ramp
primary
#905DC8
secondary
#C1D6AB
accent
#D94F97
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83