#681EA7#681EA7
#681EA7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.199 H 302.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #681EA7 |
|---|---|
| RGB | rgb(104, 30, 167) |
| HSL | hsl(272, 70%, 39%) |
| HSV | hsv(272, 82%, 65%) |
| CMYK | cmyk(37.7%, 82%, 0%, 34.5%) |
| CIE-LAB | lab(31.02, 55.89, -58.67) |
| CIE-LCH | lch(31.02, 81.03, 313.61°) |
| OKLab | oklab(43.1% 0.1083 -0.1675) |
| OKLCH | oklch(43.1% 0.199 302.9) |
| XYZ | xyz(13.1466, 6.6616, 37.1449) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.33
Purple (survey)
#7E1E9C
ΔE00 5.02
Violet Blue
#510AC9
ΔE00 6.02
Purple Blue
#5D21D0
ΔE00 6.06
Indigo Blue
#3A18B1
ΔE00 7.04
Indigo
#4B0082
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#681EA7 #5DA71E
analogous
#241EA7 #681EA7 #A71EA1
triadic
#681EA7 #A7681E #1EA768
tetradic
#681EA7 #A7241E #5DA71E #1EA1A7
square
#681EA7 #A7241E #5DA71E #1EA1A7
split-complementary
#681EA7 #A1A71E #1EA724
monochromatic
#270B3F #481573 #681EA7 #882AD9 #A55DE2
Accessibility & contrast
On white
9.00
#681EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#681EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #681EA7
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##681EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##681EA7 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#5B4464
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #681ea7; /* rgb */ color: rgb(104, 30, 167); /* oklch */ color: oklch(43.1% 0.199 302.9);
Tailwind
colors: {
custom: {
50: '#9a64c2',
500: '#681ea7',
950: '#000000',
},
}SCSS
$custom: #681ea7; $custom-light: #9a64c2; $custom-dark: #000000;
JSON
{
"hex": "#681ea7",
"rgb": {
"r": 104,
"g": 30,
"b": 167
},
"hsl": {
"h": 272.409,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.43103,
"c": 0.19946,
"h": 302.9
},
"luminance": 0.06662
}Semantic roles & 50–950 ramp
primary
#681EA7
secondary
#8CC65B
accent
#EC3B8D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81