#7651BF#7651BF
#7651BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.166 H 295.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7651BF |
|---|---|
| RGB | rgb(118, 81, 191) |
| HSL | hsl(260, 46%, 53%) |
| HSV | hsv(260, 58%, 75%) |
| CMYK | cmyk(38.2%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(43.50, 40.00, -52.57) |
| CIE-LCH | lch(43.50, 66.05, 307.26°) |
| OKLab | oklab(52.98% 0.072 -0.1493) |
| OKLCH | oklch(52.98% 0.166 295.7) |
| XYZ | xyz(19.8152, 13.4976, 50.8414) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.50
Iris
#6258C4
ΔE00 4.86
Bluey Purple
#6241C7
ΔE00 5.64
Purpley
#8756E4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7651BF #9ABF51
analogous
#5163BF #7651BF #AD51BF
triadic
#7651BF #BF7651 #51BF76
tetradic
#7651BF #BF5163 #9ABF51 #51BFAD
square
#7651BF #BF5163 #9ABF51 #51BFAD
split-complementary
#7651BF #BFAD51 #63BF51
monochromatic
#3F286D #59399A #7651BF #997ECF #BCAAE0
Accessibility & contrast
On white
5.68
#7651BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7651BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7651BF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7651BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7651BF | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#646880
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7651bf; /* rgb */ color: rgb(118, 81, 191); /* oklch */ color: oklch(53.0% 0.166 295.7);
Tailwind
colors: {
custom: {
50: '#a283d3',
500: '#7651bf',
950: '#000000',
},
}SCSS
$custom: #7651bf; $custom-light: #a283d3; $custom-dark: #000000;
JSON
{
"hex": "#7651bf",
"rgb": {
"r": 118,
"g": 81,
"b": 191
},
"hsl": {
"h": 260.182,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.52981,
"c": 0.16575,
"h": 295.7
},
"luminance": 0.13498
}Semantic roles & 50–950 ramp
primary
#7651BF
secondary
#BECE9E
accent
#D652A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83