#7D51DC#7D51DC
#7D51DC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.202 H 293.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7D51DC |
|---|---|
| RGB | rgb(125, 81, 220) |
| HSL | hsl(259, 67%, 59%) |
| HSV | hsv(259, 63%, 86%) |
| CMYK | cmyk(43.2%, 63.2%, 0%, 13.7%) |
| CIE-LAB | lab(46.19, 49.33, -64.88) |
| CIE-LCH | lch(46.19, 81.51, 307.25°) |
| OKLab | oklab(55.74% 0.0799 -0.1853) |
| OKLCH | oklch(55.74% 0.202 293.3) |
| XYZ | xyz(24.3146, 15.4115, 69.3899) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.59
Light Indigo
#6D5ACF
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.64
Bluish Purple
#703BE7
ΔE00 5.40
Dark Periwinkle
#665FD1
ΔE00 6.02
Purpleish Blue
#6140EF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D51DC #B0DC51
analogous
#516BDC #7D51DC #C351DC
triadic
#7D51DC #DC7D51 #51DC7D
tetradic
#7D51DC #DC516B #B0DC51 #51DCC3
square
#7D51DC #DC516B #B0DC51 #51DCC3
split-complementary
#7D51DC #DCC351 #6BDC51
monochromatic
#441E95 #5B28C8 #7D51DC #A384E6 #C9B7F0
Accessibility & contrast
On white
5.14
#7D51DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7D51DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D51DC
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D51DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D51DC | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#62718F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7d51dc; /* rgb */ color: rgb(125, 81, 220); /* oklch */ color: oklch(55.7% 0.202 293.3);
Tailwind
colors: {
custom: {
50: '#a984e8',
500: '#7d51dc',
950: '#000000',
},
}SCSS
$custom: #7d51dc; $custom-light: #a984e8; $custom-dark: #000000;
JSON
{
"hex": "#7d51dc",
"rgb": {
"r": 125,
"g": 81,
"b": 220
},
"hsl": {
"h": 258.993,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.55736,
"c": 0.20179,
"h": 293.3
},
"luminance": 0.15412
}Semantic roles & 50–950 ramp
primary
#7D51DC
secondary
#CEE0A9
accent
#E93EB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84