#7658CF#7658CF
#7658CF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.2% C 0.176 H 291.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7658CF |
|---|---|
| RGB | rgb(118, 88, 207) |
| HSL | hsl(255, 55%, 58%) |
| HSV | hsv(255, 57%, 81%) |
| CMYK | cmyk(43%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(46.09, 40.39, -57.65) |
| CIE-LCH | lch(46.09, 70.39, 305.01°) |
| OKLab | oklab(55.22% 0.0635 -0.1642) |
| OKLCH | oklch(55.22% 0.176 291.1) |
| XYZ | xyz(22.2203, 15.3353, 60.8086) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.86
Slate Blue
#6A5ACD
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 3.95
Iris
#6258C4
ΔE00 4.03
Purpley
#8756E4
ΔE00 4.14
Mediumslateblue
#7B68EE
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7658CF #B1CF58
analogous
#5875CF #7658CF #B158CF
triadic
#7658CF #CF7658 #58CF76
tetradic
#7658CF #CF5875 #B1CF58 #58CFB1
square
#7658CF #CF5875 #B1CF58 #58CFB1
split-complementary
#7658CF #CFB158 #75CF58
monochromatic
#3F2786 #5534B6 #7658CF #9D88DD #C4B7EA
Accessibility & contrast
On white
5.16
#7658CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#7658CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7658CF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7658CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7658CF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086FD3
Deuteranopia (green-blind)
#166BCC
Tritanopia (blue-blind)
#5D728B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7658cf; /* rgb */ color: rgb(118, 88, 207); /* oklch */ color: oklch(55.2% 0.176 291.1);
Tailwind
colors: {
custom: {
50: '#a388de',
500: '#7658cf',
950: '#000000',
},
}SCSS
$custom: #7658cf; $custom-light: #a388de; $custom-dark: #000000;
JSON
{
"hex": "#7658cf",
"rgb": {
"r": 118,
"g": 88,
"b": 207
},
"hsl": {
"h": 255.126,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.55216,
"c": 0.1761,
"h": 291.1
},
"luminance": 0.15336
}Semantic roles & 50–950 ramp
primary
#7658CF
secondary
#CDD9AA
accent
#DF49B9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83