#905FDA#905FDA
#905FDA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.182 H 299.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #905FDA |
|---|---|
| RGB | rgb(144, 95, 218) |
| HSL | hsl(264, 62%, 61%) |
| HSV | hsv(264, 56%, 85%) |
| CMYK | cmyk(33.9%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(50.89, 45.34, -56.07) |
| CIE-LCH | lch(50.89, 72.10, 308.96°) |
| OKLab | oklab(59.58% 0.0887 -0.1588) |
| OKLCH | oklch(59.58% 0.182 299.2) |
| XYZ | xyz(28.2456, 19.1754, 68.5292) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.37
Lightish Purple
#A552E6
ΔE00 4.52
Lighter Purple
#A55AF4
ΔE00 4.85
Mediumpurple
#9370DB
ΔE00 4.88
Amethyst
#9B5FC0
ΔE00 5.59
Mediumslateblue
#7B68EE
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#905FDA #A9DA5F
analogous
#5F6CDA #905FDA #CE5FDA
triadic
#905FDA #DA905F #5FDA90
tetradic
#905FDA #DA5F6C #A9DA5F #5FDACE
square
#905FDA #DA5F6C #A9DA5F #5FDACE
split-complementary
#905FDA #DACE5F #6CDA5F
monochromatic
#53249B #6E2FCD #905FDA #B291E5 #D5C2F1
Accessibility & contrast
On white
4.34
#905FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#905FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #905FDA
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##905FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##905FDA | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2679DE
Deuteranopia (green-blind)
#3978D7
Tritanopia (blue-blind)
#807893
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #905fda; /* rgb */ color: rgb(144, 95, 218); /* oklch */ color: oklch(59.6% 0.182 299.2);
Tailwind
colors: {
custom: {
50: '#b58ee6',
500: '#905fda',
950: '#000000',
},
}SCSS
$custom: #905fda; $custom-light: #b58ee6; $custom-dark: #000000;
JSON
{
"hex": "#905fda",
"rgb": {
"r": 144,
"g": 95,
"b": 218
},
"hsl": {
"h": 263.902,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.59577,
"c": 0.18191,
"h": 299.2
},
"luminance": 0.19176
}Semantic roles & 50–950 ramp
primary
#905FDA
secondary
#CFE1B3
accent
#CA1B85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84