#765FD7#765FD7
#765FD7 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.177 H 288.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #765FD7 |
|---|---|
| RGB | rgb(118, 95, 215) |
| HSL | hsl(252, 60%, 61%) |
| HSV | hsv(252, 56%, 84%) |
| CMYK | cmyk(45.1%, 55.8%, 0%, 15.7%) |
| CIE-LAB | lab(48.19, 38.60, -58.84) |
| CIE-LCH | lch(48.19, 70.37, 303.26°) |
| OKLab | oklab(56.93% 0.0555 -0.1677) |
| OKLCH | oklch(56.93% 0.177 288.3) |
| XYZ | xyz(23.8257, 16.9413, 66.2914) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.45
Slate Blue
#6A5ACD
ΔE00 2.95
Dark Periwinkle
#665FD1
ΔE00 3.10
Purpley
#8756E4
ΔE00 4.14
Mediumslateblue
#7B68EE
ΔE00 4.48
Iris
#6258C4
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FD7 #C0D75F
analogous
#5F84D7 #765FD7 #B25FD7
triadic
#765FD7 #D7765F #5FD776
tetradic
#765FD7 #D75F84 #C0D75F #5FD7B2
square
#765FD7 #D75F84 #C0D75F #5FD7B2
split-complementary
#765FD7 #D7B25F #84D75F
monochromatic
#3B2696 #4E32C7 #765FD7 #A090E3 #CAC1EF
Accessibility & contrast
On white
4.79
#765FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#765FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FD7
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FD7 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1775DB
Deuteranopia (green-blind)
#1A6FD4
Tritanopia (blue-blind)
#587992
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #765fd7; /* rgb */ color: rgb(118, 95, 215); /* oklch */ color: oklch(56.9% 0.177 288.3);
Tailwind
colors: {
custom: {
50: '#a48de4',
500: '#765fd7',
950: '#000000',
},
}SCSS
$custom: #765fd7; $custom-light: #a48de4; $custom-dark: #000000;
JSON
{
"hex": "#765fd7",
"rgb": {
"r": 118,
"g": 95,
"b": 215
},
"hsl": {
"h": 251.5,
"s": 60,
"l": 60.784
},
"oklch": {
"l": 0.56929,
"c": 0.17668,
"h": 288.3
},
"luminance": 0.16942
}Semantic roles & 50–950 ramp
primary
#765FD7
secondary
#D7E0B2
accent
#C81EA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84