#7F6CE2#7F6CE2
#7F6CE2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.7% C 0.173 H 287.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6CE2 |
|---|---|
| RGB | rgb(127, 108, 226) |
| HSL | hsl(250, 67%, 65%) |
| HSV | hsv(250, 52%, 89%) |
| CMYK | cmyk(43.8%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(52.65, 36.15, -57.85) |
| CIE-LCH | lch(52.65, 68.22, 302.00°) |
| OKLab | oklab(60.65% 0.0519 -0.1645) |
| OKLCH | oklch(60.65% 0.173 287.5) |
| XYZ | xyz(27.8385, 20.7271, 74.4707) |
| Luminance | 0.2073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.13
Mediumpurple
#9370DB
ΔE00 4.50
Purpley
#8756E4
ΔE00 6.38
Dark Periwinkle
#665FD1
ΔE00 6.40
Cornflower
#6A79F7
ΔE00 6.82
Light Indigo
#6D5ACF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6CE2 #CFE26C
analogous
#6C94E2 #7F6CE2 #BA6CE2
triadic
#7F6CE2 #E27F6C #6CE27F
tetradic
#7F6CE2 #E26C94 #CFE26C #6CE2BA
square
#7F6CE2 #E26C94 #CFE26C #6CE2BA
split-complementary
#7F6CE2 #E2BA6C #94E26C
monochromatic
#3A23B1 #5239D8 #7F6CE2 #AC9FEC #D8D2F6
Accessibility & contrast
On white
4.08
#7F6CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#7F6CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F6CE2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F6CE2 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3480E6
Deuteranopia (green-blind)
#337BDF
Tritanopia (blue-blind)
#61859D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7f6ce2; /* rgb */ color: rgb(127, 108, 226); /* oklch */ color: oklch(60.7% 0.173 287.5);
Tailwind
colors: {
custom: {
50: '#aa96ec',
500: '#7f6ce2',
950: '#000000',
},
}SCSS
$custom: #7f6ce2; $custom-light: #aa96ec; $custom-dark: #000000;
JSON
{
"hex": "#7f6ce2",
"rgb": {
"r": 127,
"g": 108,
"b": 226
},
"hsl": {
"h": 249.661,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.60653,
"c": 0.17252,
"h": 287.5
},
"luminance": 0.20728
}Semantic roles & 50–950 ramp
primary
#7F6CE2
secondary
#E2E9C1
accent
#CF17B1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84