#765ED7#765ED7
#765ED7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.178 H 288.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #765ED7 |
|---|---|
| RGB | rgb(118, 94, 215) |
| HSL | hsl(252, 60%, 61%) |
| HSV | hsv(252, 56%, 84%) |
| CMYK | cmyk(45.1%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(47.96, 39.18, -59.21) |
| CIE-LCH | lch(47.96, 71.00, 303.49°) |
| OKLab | oklab(56.76% 0.0566 -0.1688) |
| OKLCH | oklch(56.76% 0.178 288.5) |
| XYZ | xyz(23.7362, 16.7623, 66.2616) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.29
Slate Blue
#6A5ACD
ΔE00 2.82
Dark Periwinkle
#665FD1
ΔE00 3.14
Purpley
#8756E4
ΔE00 3.98
Mediumslateblue
#7B68EE
ΔE00 4.68
Iris
#6258C4
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765ED7 #BFD75E
analogous
#5E82D7 #765ED7 #B25ED7
triadic
#765ED7 #D7765E #5ED776
tetradic
#765ED7 #D75E82 #BFD75E #5ED7B2
square
#765ED7 #D75E82 #BFD75E #5ED7B2
split-complementary
#765ED7 #D7B25E #82D75E
monochromatic
#3B2595 #4F31C6 #765ED7 #A08FE3 #C9C0EF
Accessibility & contrast
On white
4.82
#765ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#765ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765ED7
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765ED7 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1274DB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#587991
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #765ed7; /* rgb */ color: rgb(118, 94, 215); /* oklch */ color: oklch(56.8% 0.178 288.5);
Tailwind
colors: {
custom: {
50: '#a48ce4',
500: '#765ed7',
950: '#000000',
},
}SCSS
$custom: #765ed7; $custom-light: #a48ce4; $custom-dark: #000000;
JSON
{
"hex": "#765ed7",
"rgb": {
"r": 118,
"g": 94,
"b": 215
},
"hsl": {
"h": 251.901,
"s": 60.199,
"l": 60.588
},
"oklch": {
"l": 0.56761,
"c": 0.17806,
"h": 288.5
},
"luminance": 0.16763
}Semantic roles & 50–950 ramp
primary
#765ED7
secondary
#D6DFB1
accent
#C81EA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84