#906CCF#906CCF
#906CCF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.0% C 0.148 H 298.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #906CCF |
|---|---|
| RGB | rgb(144, 108, 207) |
| HSL | hsl(262, 51%, 62%) |
| HSV | hsv(262, 48%, 81%) |
| CMYK | cmyk(30.4%, 47.8%, 0%, 18.8%) |
| CIE-LAB | lab(53.12, 35.24, -46.25) |
| CIE-LCH | lch(53.12, 58.15, 307.30°) |
| OKLab | oklab(61.03% 0.0712 -0.1301) |
| OKLCH | oklch(61.03% 0.148 298.7) |
| XYZ | xyz(28.1240, 21.1592, 61.6218) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.26
Deep Lilac
#966EBD
ΔE00 4.27
Amethyst
#9B5FC0
ΔE00 5.52
Deep Lavender
#8D5EB7
ΔE00 5.90
Mediumslateblue
#7B68EE
ΔE00 6.88
Purpley
#8756E4
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#906CCF #ABCF6C
analogous
#6C7ACF #906CCF #C26CCF
triadic
#906CCF #CF906C #6CCF90
tetradic
#906CCF #CF6C7A #ABCF6C #6CCFC2
square
#906CCF #CF6C7A #ABCF6C #6CCFC2
split-complementary
#906CCF #CFC26C #7ACF6C
monochromatic
#532F91 #6D3EBF #906CCF #B39ADE #D6C8ED
Accessibility & contrast
On white
4.01
#906CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#906CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #906CCF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##906CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##906CCF | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7FD3
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#837E94
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #906ccf; /* rgb */ color: rgb(144, 108, 207); /* oklch */ color: oklch(61.0% 0.148 298.7);
Tailwind
colors: {
custom: {
50: '#b397de',
500: '#906ccf',
950: '#000000',
},
}SCSS
$custom: #906ccf; $custom-light: #b397de; $custom-dark: #000000;
JSON
{
"hex": "#906ccf",
"rgb": {
"r": 144,
"g": 108,
"b": 207
},
"hsl": {
"h": 261.818,
"s": 50.769,
"l": 61.765
},
"oklch": {
"l": 0.61029,
"c": 0.14832,
"h": 298.7
},
"luminance": 0.21159
}Semantic roles & 50–950 ramp
primary
#906CCF
secondary
#D0DEB9
accent
#BE2787
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83