#7B64CD#7B64CD
#7B64CD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.156 H 290.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B64CD |
|---|---|
| RGB | rgb(123, 100, 205) |
| HSL | hsl(253, 51%, 60%) |
| HSV | hsv(253, 51%, 80%) |
| CMYK | cmyk(40%, 51.2%, 0%, 19.6%) |
| CIE-LAB | lab(49.17, 33.99, -51.53) |
| CIE-LCH | lch(49.17, 61.73, 303.41°) |
| OKLab | oklab(57.57% 0.0553 -0.1461) |
| OKLCH | oklch(57.57% 0.156 290.7) |
| XYZ | xyz(23.7420, 17.7324, 59.9175) |
| Luminance | 0.1773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.36
Dark Periwinkle
#665FD1
ΔE00 4.37
Mediumslateblue
#7B68EE
ΔE00 5.13
Purpley
#8756E4
ΔE00 5.34
Iris
#6258C4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B64CD #B6CD64
analogous
#6481CD #7B64CD #B064CD
triadic
#7B64CD #CD7B64 #64CD7B
tetradic
#7B64CD #CD6481 #B6CD64 #64CDB0
square
#7B64CD #CD6481 #B6CD64 #64CDB0
split-complementary
#7B64CD #CDB064 #81CD64
monochromatic
#412D8A #573BB8 #7B64CD #A292DC #CAC1EB
Accessibility & contrast
On white
4.62
#7B64CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7B64CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B64CD
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B64CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B64CD | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#657A8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b64cd; /* rgb */ color: rgb(123, 100, 205); /* oklch */ color: oklch(57.6% 0.156 290.7);
Tailwind
colors: {
custom: {
50: '#a590dd',
500: '#7b64cd',
950: '#000000',
},
}SCSS
$custom: #7b64cd; $custom-light: #a590dd; $custom-dark: #000000;
JSON
{
"hex": "#7b64cd",
"rgb": {
"r": 123,
"g": 100,
"b": 205
},
"hsl": {
"h": 253.143,
"s": 51.22,
"l": 59.804
},
"oklch": {
"l": 0.57569,
"c": 0.15624,
"h": 290.7
},
"luminance": 0.17733
}Semantic roles & 50–950 ramp
primary
#7B64CD
secondary
#D2DBB2
accent
#DB4DBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83