#7D51DF#7D51DF
#7D51DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.205 H 292.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7D51DF |
|---|---|
| RGB | rgb(125, 81, 223) |
| HSL | hsl(259, 69%, 60%) |
| HSV | hsv(259, 64%, 87%) |
| CMYK | cmyk(43.9%, 63.7%, 0%, 12.5%) |
| CIE-LAB | lab(46.41, 50.14, -66.24) |
| CIE-LCH | lch(46.41, 83.08, 307.12°) |
| OKLab | oklab(55.96% 0.0796 -0.1893) |
| OKLCH | oklch(55.96% 0.205 292.8) |
| XYZ | xyz(24.7155, 15.5718, 71.5012) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.42
Light Indigo
#6D5ACF
ΔE00 4.24
Slate Blue
#6A5ACD
ΔE00 4.78
Bluish Purple
#703BE7
ΔE00 5.37
Purpleish Blue
#6140EF
ΔE00 5.92
Dark Periwinkle
#665FD1
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D51DF #B3DF51
analogous
#516CDF #7D51DF #C451DF
triadic
#7D51DF #DF7D51 #51DF7D
tetradic
#7D51DF #DF516C #B3DF51 #51DFC4
square
#7D51DF #DF516C #B3DF51 #51DFC4
split-complementary
#7D51DF #DFC451 #6CDF51
monochromatic
#431C99 #5A26CD #7D51DF #A485E9 #CAB8F2
Accessibility & contrast
On white
5.10
#7D51DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7D51DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D51DF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D51DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D51DF | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#617291
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d51df; /* rgb */ color: rgb(125, 81, 223); /* oklch */ color: oklch(56.0% 0.205 292.8);
Tailwind
colors: {
custom: {
50: '#aa84ea',
500: '#7d51df',
950: '#000000',
},
}SCSS
$custom: #7d51df; $custom-light: #aa84ea; $custom-dark: #000000;
JSON
{
"hex": "#7d51df",
"rgb": {
"r": 125,
"g": 81,
"b": 223
},
"hsl": {
"h": 258.592,
"s": 68.932,
"l": 59.608
},
"oklch": {
"l": 0.55959,
"c": 0.20535,
"h": 292.8
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#7D51DF
secondary
#D0E1AA
accent
#EC3CB5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84