#7B61CD#7B61CD
#7B61CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.161 H 291.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B61CD |
|---|---|
| RGB | rgb(123, 97, 205) |
| HSL | hsl(254, 52%, 59%) |
| HSV | hsv(254, 53%, 80%) |
| CMYK | cmyk(40%, 52.7%, 0%, 19.6%) |
| CIE-LAB | lab(48.47, 35.75, -52.65) |
| CIE-LCH | lch(48.47, 63.64, 304.18°) |
| OKLab | oklab(57.05% 0.0591 -0.1494) |
| OKLCH | oklch(57.05% 0.161 291.6) |
| XYZ | xyz(23.4595, 17.1675, 59.8234) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.22
Purpley
#8756E4
ΔE00 4.73
Iris
#6258C4
ΔE00 5.43
Mediumslateblue
#7B68EE
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B61CD #B3CD61
analogous
#617DCD #7B61CD #B161CD
triadic
#7B61CD #CD7B61 #61CD7B
tetradic
#7B61CD #CD617D #B3CD61 #61CDB1
square
#7B61CD #CD617D #B3CD61 #61CDB1
split-complementary
#7B61CD #CDB161 #7DCD61
monochromatic
#422B88 #583AB7 #7B61CD #A28FDC #C9BEEA
Accessibility & contrast
On white
4.74
#7B61CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7B61CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B61CD
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B61CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B61CD | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#65778E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7b61cd; /* rgb */ color: rgb(123, 97, 205); /* oklch */ color: oklch(57.0% 0.161 291.6);
Tailwind
colors: {
custom: {
50: '#a68edd',
500: '#7b61cd',
950: '#000000',
},
}SCSS
$custom: #7b61cd; $custom-light: #a68edd; $custom-dark: #000000;
JSON
{
"hex": "#7b61cd",
"rgb": {
"r": 123,
"g": 97,
"b": 205
},
"hsl": {
"h": 254.444,
"s": 51.923,
"l": 59.216
},
"oklch": {
"l": 0.57048,
"c": 0.16065,
"h": 291.6
},
"luminance": 0.17168
}Semantic roles & 50–950 ramp
primary
#7B61CD
secondary
#D0DAB0
accent
#DB4CB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83