#7651F2#7651F2
#7651F2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.228 H 287.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7651F2 |
|---|---|
| RGB | rgb(118, 81, 242) |
| HSL | hsl(254, 86%, 63%) |
| HSV | hsv(254, 67%, 95%) |
| CMYK | cmyk(51.2%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(47.17, 54.11, -75.76) |
| CIE-LCH | lch(47.17, 93.10, 305.54°) |
| OKLab | oklab(56.79% 0.0679 -0.2175) |
| OKLCH | oklch(56.79% 0.228 287.3) |
| XYZ | xyz(26.4359, 16.1459, 85.7107) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Purpleish Blue
#6140EF
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.27
Bluish Purple
#703BE7
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.70
Mediumslateblue
#7B68EE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7651F2 #CDF251
analogous
#517CF2 #7651F2 #C651F2
triadic
#7651F2 #F27651 #51F276
tetradic
#7651F2 #F2517C #CDF251 #51F2C6
square
#7651F2 #F2517C #CDF251 #51F2C6
split-complementary
#7651F2 #F2C651 #7CF251
monochromatic
#360EBB #4918EE #7651F2 #A38AF6 #D0C3FB
Accessibility & contrast
On white
4.97
#7651F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7651F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7651F2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7651F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7651F2 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#477A9B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7651f2; /* rgb */ color: rgb(118, 81, 242); /* oklch */ color: oklch(56.8% 0.228 287.3);
Tailwind
colors: {
custom: {
50: '#a884f7',
500: '#7651f2',
950: '#000000',
},
}SCSS
$custom: #7651f2; $custom-light: #a884f7; $custom-dark: #000000;
JSON
{
"hex": "#7651f2",
"rgb": {
"r": 118,
"g": 81,
"b": 242
},
"hsl": {
"h": 253.789,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.56793,
"c": 0.22786,
"h": 287.3
},
"luminance": 0.16147
}Semantic roles & 50–950 ramp
primary
#7651F2
secondary
#DFECB3
accent
#E303AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85