#7E6CF2#7E6CF2
#7E6CF2 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.193 H 285.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E6CF2 |
|---|---|
| RGB | rgb(126, 108, 242) |
| HSL | hsl(248, 84%, 69%) |
| HSV | hsv(248, 55%, 95%) |
| CMYK | cmyk(47.9%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(53.57, 40.53, -65.34) |
| CIE-LCH | lch(53.57, 76.89, 301.81°) |
| OKLab | oklab(61.64% 0.0512 -0.1866) |
| OKLCH | oklch(61.64% 0.193 285.3) |
| XYZ | xyz(29.9890, 21.5701, 86.5705) |
| Luminance | 0.2157 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.40
Mediumpurple
#9370DB
ΔE00 5.77
Cornflower
#6A79F7
ΔE00 5.82
Periwinkle (survey)
#8E82FE
ΔE00 6.78
Purpley
#8756E4
ΔE00 6.87
Dark Periwinkle
#665FD1
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E6CF2 #E0F26C
analogous
#6C9DF2 #7E6CF2 #C16CF2
triadic
#7E6CF2 #F27E6C #6CF27E
tetradic
#7E6CF2 #F26C9D #E0F26C #6CF2C1
square
#7E6CF2 #F26C9D #E0F26C #6CF2C1
split-complementary
#7E6CF2 #F2C16C #9DF26C
monochromatic
#2C12D1 #4D34ED #7E6CF2 #AFA4F7 #E1DCFC
Accessibility & contrast
On white
3.95
#7E6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#7E6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E6CF2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E6CF2 | 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)
#1584F7
Deuteranopia (green-blind)
#0B7CEF
Tritanopia (blue-blind)
#558AA5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e6cf2; /* rgb */ color: rgb(126, 108, 242); /* oklch */ color: oklch(61.6% 0.193 285.3);
Tailwind
colors: {
custom: {
50: '#ab96f7',
500: '#7e6cf2',
950: '#000000',
},
}SCSS
$custom: #7e6cf2; $custom-light: #ab96f7; $custom-dark: #000000;
JSON
{
"hex": "#7e6cf2",
"rgb": {
"r": 126,
"g": 108,
"b": 242
},
"hsl": {
"h": 248.06,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.61636,
"c": 0.19345,
"h": 285.3
},
"luminance": 0.21572
}Semantic roles & 50–950 ramp
primary
#7E6CF2
secondary
#ECF1C9
accent
#E005C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85