#7B64CF#7B64CF
#7B64CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.159 H 290.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B64CF |
|---|---|
| RGB | rgb(123, 100, 207) |
| HSL | hsl(253, 53%, 60%) |
| HSV | hsv(253, 52%, 81%) |
| CMYK | cmyk(40.6%, 51.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.29, 34.55, -52.48) |
| CIE-LCH | lch(49.29, 62.83, 303.35°) |
| OKLab | oklab(57.7% 0.0555 -0.1489) |
| OKLCH | oklch(57.7% 0.159 290.4) |
| XYZ | xyz(23.9849, 17.8296, 61.1971) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.33
Mediumslateblue
#7B68EE
ΔE00 4.81
Purpley
#8756E4
ΔE00 5.16
Iris
#6258C4
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B64CF #B8CF64
analogous
#6483CF #7B64CF #B064CF
triadic
#7B64CF #CF7B64 #64CF7B
tetradic
#7B64CF #CF6483 #B8CF64 #64CFB0
square
#7B64CF #CF6483 #B8CF64 #64CFB0
split-complementary
#7B64CF #CFB064 #83CF64
monochromatic
#412C8D #563ABC #7B64CF #A393DD #CBC1EC
Accessibility & contrast
On white
4.60
#7B64CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7B64CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B64CF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B64CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B64CF | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#647A90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b64cf; /* rgb */ color: rgb(123, 100, 207); /* oklch */ color: oklch(57.7% 0.159 290.4);
Tailwind
colors: {
custom: {
50: '#a690de',
500: '#7b64cf',
950: '#000000',
},
}SCSS
$custom: #7b64cf; $custom-light: #a690de; $custom-dark: #000000;
JSON
{
"hex": "#7b64cf",
"rgb": {
"r": 123,
"g": 100,
"b": 207
},
"hsl": {
"h": 252.897,
"s": 52.709,
"l": 60.196
},
"oklch": {
"l": 0.57696,
"c": 0.15889,
"h": 290.4
},
"luminance": 0.1783
}Semantic roles & 50–950 ramp
primary
#7B64CF
secondary
#D3DCB3
accent
#C0259F
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83