#906BCF#906BCF
#906BCF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.9% C 0.150 H 299.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #906BCF |
|---|---|
| RGB | rgb(144, 107, 207) |
| HSL | hsl(262, 51%, 62%) |
| HSV | hsv(262, 48%, 81%) |
| CMYK | cmyk(30.4%, 48.3%, 0%, 18.8%) |
| CIE-LAB | lab(52.89, 35.81, -46.62) |
| CIE-LCH | lch(52.89, 58.79, 307.53°) |
| OKLab | oklab(60.86% 0.0726 -0.1311) |
| OKLCH | oklch(60.86% 0.15 299) |
| XYZ | xyz(28.0191, 20.9494, 61.5869) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.42
Deep Lilac
#966EBD
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 5.31
Deep Lavender
#8D5EB7
ΔE00 5.69
Mediumslateblue
#7B68EE
ΔE00 6.84
Purpley
#8756E4
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#906BCF #AACF6B
analogous
#6B78CF #906BCF #C26BCF
triadic
#906BCF #CF906B #6BCF90
tetradic
#906BCF #CF6B78 #AACF6B #6BCFC2
square
#906BCF #CF6B78 #AACF6B #6BCFC2
split-complementary
#906BCF #CFC26B #78CF6B
monochromatic
#532F91 #6E3EBF #906BCF #B399DE #D5C7ED
Accessibility & contrast
On white
4.05
#906BCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#906BCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #906BCF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##906BCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##906BCF | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#537DCD
Tritanopia (blue-blind)
#837E93
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #906bcf; /* rgb */ color: rgb(144, 107, 207); /* oklch */ color: oklch(60.9% 0.150 299.0);
Tailwind
colors: {
custom: {
50: '#b396de',
500: '#906bcf',
950: '#000000',
},
}SCSS
$custom: #906bcf; $custom-light: #b396de; $custom-dark: #000000;
JSON
{
"hex": "#906bcf",
"rgb": {
"r": 144,
"g": 107,
"b": 207
},
"hsl": {
"h": 262.2,
"s": 51.02,
"l": 61.569
},
"oklch": {
"l": 0.60858,
"c": 0.1499,
"h": 299
},
"luminance": 0.2095
}Semantic roles & 50–950 ramp
primary
#906BCF
secondary
#D0DEB8
accent
#BE2786
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83