#905FC2#905FC2
#905FC2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.153 H 305.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #905FC2 |
|---|---|
| RGB | rgb(144, 95, 194) |
| HSL | hsl(270, 45%, 57%) |
| HSV | hsv(270, 51%, 76%) |
| CMYK | cmyk(25.8%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(49.51, 39.40, -44.55) |
| CIE-LCH | lch(49.51, 59.48, 311.49°) |
| OKLab | oklab(58.11% 0.0875 -0.1251) |
| OKLCH | oklch(58.11% 0.153 305) |
| XYZ | xyz(25.3293, 18.0089, 53.1701) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.00
Amethyst
#9B5FC0
ΔE00 2.58
Deep Lilac
#966EBD
ΔE00 5.14
Purpley
#8756E4
ΔE00 6.45
Mediumpurple
#9370DB
ΔE00 6.49
Lightish Purple
#A552E6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905FC2 #91C25F
analogous
#5F60C2 #905FC2 #C25FC2
triadic
#905FC2 #C2905F #5FC290
tetradic
#905FC2 #C25F60 #91C25F #5FC2C2
square
#905FC2 #C25F60 #91C25F #5FC2C2
split-complementary
#905FC2 #C2C25F #60C25F
monochromatic
#532E79 #713FA5 #905FC2 #AF8BD3 #CDB8E4
Accessibility & contrast
On white
4.56
#905FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#905FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905FC2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905FC2 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#887188
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #905fc2; /* rgb */ color: rgb(144, 95, 194); /* oklch */ color: oklch(58.1% 0.153 305.0);
Tailwind
colors: {
custom: {
50: '#b38ed5',
500: '#905fc2',
950: '#000000',
},
}SCSS
$custom: #905fc2; $custom-light: #b38ed5; $custom-dark: #000000;
JSON
{
"hex": "#905fc2",
"rgb": {
"r": 144,
"g": 95,
"b": 194
},
"hsl": {
"h": 269.697,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.58107,
"c": 0.15267,
"h": 305
},
"luminance": 0.18009
}Semantic roles & 50–950 ramp
primary
#905FC2
secondary
#BFD3AA
accent
#D45395
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83