#7F6ED3#7F6ED3
#7F6ED3 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.1% C 0.150 H 288.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6ED3 |
|---|---|
| RGB | rgb(127, 110, 211) |
| HSL | hsl(250, 53%, 63%) |
| HSV | hsv(250, 48%, 83%) |
| CMYK | cmyk(39.8%, 47.9%, 0%, 17.3%) |
| CIE-LAB | lab(52.25, 30.74, -50.01) |
| CIE-LCH | lch(52.25, 58.71, 301.58°) |
| OKLab | oklab(60.07% 0.0482 -0.1415) |
| OKLCH | oklch(60.07% 0.15 288.8) |
| XYZ | xyz(26.0830, 20.3662, 64.1722) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.17
Mediumslateblue
#7B68EE
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 6.49
Light Indigo
#6D5ACF
ΔE00 6.99
Slate Blue
#6A5ACD
ΔE00 7.27
Purpley
#8756E4
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6ED3 #C2D36E
analogous
#6E8FD3 #7F6ED3 #B16ED3
triadic
#7F6ED3 #D37F6E #6ED37F
tetradic
#7F6ED3 #D36E8F #C2D36E #6ED3B1
square
#7F6ED3 #D36E8F #C2D36E #6ED3B1
split-complementary
#7F6ED3 #D3B16E #8FD36E
monochromatic
#402E98 #563FC5 #7F6ED3 #A89DE1 #D2CCEF
Accessibility & contrast
On white
4.14
#7F6ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#7F6ED3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F6ED3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6ED3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F6ED3 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477FD7
Deuteranopia (green-blind)
#477AD1
Tritanopia (blue-blind)
#688296
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #7f6ed3; /* rgb */ color: rgb(127, 110, 211); /* oklch */ color: oklch(60.1% 0.150 288.8);
Tailwind
colors: {
custom: {
50: '#a898e1',
500: '#7f6ed3',
950: '#000000',
},
}SCSS
$custom: #7f6ed3; $custom-light: #a898e1; $custom-dark: #000000;
JSON
{
"hex": "#7f6ed3",
"rgb": {
"r": 127,
"g": 110,
"b": 211
},
"hsl": {
"h": 250.099,
"s": 53.439,
"l": 62.941
},
"oklch": {
"l": 0.60071,
"c": 0.14951,
"h": 288.8
},
"luminance": 0.20367
}Semantic roles & 50–950 ramp
primary
#7F6ED3
secondary
#DAE1BC
accent
#C125A7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83