#905FCF#905FCF
#905FCF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.169 H 301.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #905FCF |
|---|---|
| RGB | rgb(144, 95, 207) |
| HSL | hsl(266, 54%, 59%) |
| HSV | hsv(266, 54%, 81%) |
| CMYK | cmyk(30.4%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(50.24, 42.58, -50.85) |
| CIE-LCH | lch(50.24, 66.32, 309.94°) |
| OKLab | oklab(58.89% 0.0884 -0.1435) |
| OKLCH | oklch(58.89% 0.169 301.6) |
| XYZ | xyz(26.8537, 18.6186, 61.1984) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.08
Deep Lavender
#8D5EB7
ΔE00 4.23
Purpley
#8756E4
ΔE00 4.51
Lightish Purple
#A552E6
ΔE00 5.14
Mediumpurple
#9370DB
ΔE00 5.30
Lighter Purple
#A55AF4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905FCF #9ECF5F
analogous
#5F66CF #905FCF #C85FCF
triadic
#905FCF #CF905F #5FCF90
tetradic
#905FCF #CF5F66 #9ECF5F #5FCFC8
square
#905FCF #CF5F66 #9ECF5F #5FCFC8
split-complementary
#905FCF #CFC85F #66CF5F
monochromatic
#54298A #7038B9 #905FCF #B18EDD #D1BDEB
Accessibility & contrast
On white
4.45
#905FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#905FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905FCF
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905FCF | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#84758E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #905fcf; /* rgb */ color: rgb(144, 95, 207); /* oklch */ color: oklch(58.9% 0.169 301.6);
Tailwind
colors: {
custom: {
50: '#b48ede',
500: '#905fcf',
950: '#000000',
},
}SCSS
$custom: #905fcf; $custom-light: #b48ede; $custom-dark: #000000;
JSON
{
"hex": "#905fcf",
"rgb": {
"r": 144,
"g": 95,
"b": 207
},
"hsl": {
"h": 266.25,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.58885,
"c": 0.16855,
"h": 301.6
},
"luminance": 0.18619
}Semantic roles & 50–950 ramp
primary
#905FCF
secondary
#C8DBAF
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83