#7658CB#7658CB
#7658CB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.171 H 291.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7658CB |
|---|---|
| RGB | rgb(118, 88, 203) |
| HSL | hsl(256, 53%, 57%) |
| HSV | hsv(256, 57%, 80%) |
| CMYK | cmyk(41.9%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.83, 39.27, -55.77) |
| CIE-LCH | lch(45.83, 68.21, 305.15°) |
| OKLab | oklab(54.94% 0.0635 -0.1587) |
| OKLCH | oklch(54.94% 0.171 291.8) |
| XYZ | xyz(21.7375, 15.1422, 58.2658) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.05
Slate Blue
#6A5ACD
ΔE00 2.51
Iris
#6258C4
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 4.13
Purpley
#8756E4
ΔE00 4.56
Royal Purple
#7851A9
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7658CB #ADCB58
analogous
#5874CB #7658CB #AF58CB
triadic
#7658CB #CB7658 #58CB76
tetradic
#7658CB #CB5874 #ADCB58 #58CBAF
square
#7658CB #CB5874 #ADCB58 #58CBAF
split-complementary
#7658CB #CBAF58 #74CB58
monochromatic
#3F2881 #5637AF #7658CB #9C87DA #C3B5E8
Accessibility & contrast
On white
5.21
#7658CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7658CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7658CB
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7658CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7658CB | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#5F7189
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7658cb; /* rgb */ color: rgb(118, 88, 203); /* oklch */ color: oklch(54.9% 0.171 291.8);
Tailwind
colors: {
custom: {
50: '#a388db',
500: '#7658cb',
950: '#000000',
},
}SCSS
$custom: #7658cb; $custom-light: #a388db; $custom-dark: #000000;
JSON
{
"hex": "#7658cb",
"rgb": {
"r": 118,
"g": 88,
"b": 203
},
"hsl": {
"h": 255.652,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.5494,
"c": 0.17097,
"h": 291.8
},
"luminance": 0.15143
}Semantic roles & 50–950 ramp
primary
#7658CB
secondary
#CBD7A8
accent
#DC4CB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83