#7A61EF#7A61EF
#7A61EF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.204 H 286.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7A61EF |
|---|---|
| RGB | rgb(122, 97, 239) |
| HSL | hsl(251, 82%, 66%) |
| HSV | hsv(251, 59%, 94%) |
| CMYK | cmyk(49%, 59.4%, 0%, 6.3%) |
| CIE-LAB | lab(50.59, 45.17, -68.49) |
| CIE-LCH | lch(50.59, 82.05, 303.41°) |
| OKLab | oklab(59.3% 0.0579 -0.196) |
| OKLCH | oklch(59.3% 0.204 286.5) |
| XYZ | xyz(27.8761, 18.9176, 83.8273) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.01
Purpley
#8756E4
ΔE00 4.18
Dark Periwinkle
#665FD1
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.57
Slate Blue
#6A5ACD
ΔE00 6.02
Mediumpurple
#9370DB
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A61EF #D6EF61
analogous
#618FEF #7A61EF #C161EF
triadic
#7A61EF #EF7A61 #61EF7A
tetradic
#7A61EF #EF618F #D6EF61 #61EFC1
square
#7A61EF #EF618F #D6EF61 #61EFC1
split-complementary
#7A61EF #EFC161 #8FEF61
monochromatic
#3214C2 #4B29E9 #7A61EF #A999F5 #D8D0FA
Accessibility & contrast
On white
4.39
#7A61EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7A61EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A61EF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A61EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A61EF | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#50829F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a61ef; /* rgb */ color: rgb(122, 97, 239); /* oklch */ color: oklch(59.3% 0.204 286.5);
Tailwind
colors: {
custom: {
50: '#a98ff5',
500: '#7a61ef',
950: '#000000',
},
}SCSS
$custom: #7a61ef; $custom-light: #a98ff5; $custom-dark: #000000;
JSON
{
"hex": "#7a61ef",
"rgb": {
"r": 122,
"g": 97,
"b": 239
},
"hsl": {
"h": 250.563,
"s": 81.609,
"l": 65.882
},
"oklch": {
"l": 0.59296,
"c": 0.20438,
"h": 286.5
},
"luminance": 0.18919
}Semantic roles & 50–950 ramp
primary
#7A61EF
secondary
#E5EDBE
accent
#DE08B8
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85