#906CD7#906CD7
#906CD7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.5% C 0.159 H 297.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #906CD7 |
|---|---|
| RGB | rgb(144, 108, 215) |
| HSL | hsl(260, 57%, 63%) |
| HSV | hsv(260, 50%, 84%) |
| CMYK | cmyk(33%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(53.56, 37.28, -50.10) |
| CIE-LCH | lch(53.56, 62.45, 306.65°) |
| OKLab | oklab(61.49% 0.0721 -0.1413) |
| OKLCH | oklch(61.49% 0.159 297) |
| XYZ | xyz(29.1269, 21.5603, 66.9038) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.38
Deep Lilac
#966EBD
ΔE00 5.56
Mediumslateblue
#7B68EE
ΔE00 5.76
Amethyst
#9B5FC0
ΔE00 6.39
Lighter Purple
#A55AF4
ΔE00 6.51
Purpley
#8756E4
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#906CD7 #B3D76C
analogous
#6C7DD7 #906CD7 #C56CD7
triadic
#906CD7 #D7906C #6CD790
tetradic
#906CD7 #D76C7D #B3D76C #6CD7C5
square
#906CD7 #D76C7D #B3D76C #6CD7C5
split-complementary
#906CD7 #D7C56C #7DD76C
monochromatic
#522B9E #6C3CCA #906CD7 #B49CE4 #D9CCF1
Accessibility & contrast
On white
3.95
#906CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#906CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #906CD7
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##906CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##906CD7 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4680DB
Deuteranopia (green-blind)
#4E7FD4
Tritanopia (blue-blind)
#808197
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #906cd7; /* rgb */ color: rgb(144, 108, 215); /* oklch */ color: oklch(61.5% 0.159 297.0);
Tailwind
colors: {
custom: {
50: '#b497e4',
500: '#906cd7',
950: '#000000',
},
}SCSS
$custom: #906cd7; $custom-light: #b497e4; $custom-dark: #000000;
JSON
{
"hex": "#906cd7",
"rgb": {
"r": 144,
"g": 108,
"b": 215
},
"hsl": {
"h": 260.187,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.61494,
"c": 0.15865,
"h": 297
},
"luminance": 0.21561
}Semantic roles & 50–950 ramp
primary
#906CD7
secondary
#D6E2BC
accent
#C5218E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D15
muted
#807E84