#7D64C2#7D64C2
#7D64C2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.1% C 0.142 H 293.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7D64C2 |
|---|---|
| RGB | rgb(125, 100, 194) |
| HSL | hsl(256, 44%, 58%) |
| HSV | hsv(256, 48%, 76%) |
| CMYK | cmyk(35.6%, 48.5%, 0%, 23.9%) |
| CIE-LAB | lab(48.72, 31.47, -45.92) |
| CIE-LCH | lch(48.72, 55.67, 304.43°) |
| OKLab | oklab(57.07% 0.0568 -0.1296) |
| OKLCH | oklch(57.07% 0.142 293.7) |
| XYZ | xyz(22.7497, 17.3689, 53.1824) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.32
Dark Periwinkle
#665FD1
ΔE00 5.67
Iris
#6258C4
ΔE00 6.43
Mediumpurple
#9370DB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D64C2 #A9C264
analogous
#647AC2 #7D64C2 #AC64C2
triadic
#7D64C2 #C27D64 #64C27D
tetradic
#7D64C2 #C2647A #A9C264 #64C2AC
square
#7D64C2 #C2647A #A9C264 #64C2AC
split-complementary
#7D64C2 #C2AC64 #7AC264
monochromatic
#44307B #5D42A7 #7D64C2 #A290D3 #C7BCE5
Accessibility & contrast
On white
4.69
#7D64C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7D64C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D64C2
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D64C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D64C2 | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#6C768A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7d64c2; /* rgb */ color: rgb(125, 100, 194); /* oklch */ color: oklch(57.1% 0.142 293.7);
Tailwind
colors: {
custom: {
50: '#a690d5',
500: '#7d64c2',
950: '#000000',
},
}SCSS
$custom: #7d64c2; $custom-light: #a690d5; $custom-dark: #000000;
JSON
{
"hex": "#7d64c2",
"rgb": {
"r": 125,
"g": 100,
"b": 194
},
"hsl": {
"h": 255.957,
"s": 43.519,
"l": 57.647
},
"oklch": {
"l": 0.57073,
"c": 0.14151,
"h": 293.7
},
"luminance": 0.17369
}Semantic roles & 50–950 ramp
primary
#7D64C2
secondary
#CAD4AE
accent
#D355B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83