#765FD5#765FD5
#765FD5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.174 H 288.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #765FD5 |
|---|---|
| RGB | rgb(118, 95, 213) |
| HSL | hsl(252, 58%, 60%) |
| HSV | hsv(252, 55%, 84%) |
| CMYK | cmyk(44.6%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(48.06, 38.03, -57.91) |
| CIE-LCH | lch(48.06, 69.28, 303.29°) |
| OKLab | oklab(56.79% 0.0554 -0.165) |
| OKLCH | oklch(56.79% 0.174 288.6) |
| XYZ | xyz(23.5703, 16.8392, 64.9463) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.33
Slate Blue
#6A5ACD
ΔE00 2.83
Dark Periwinkle
#665FD1
ΔE00 3.06
Purpley
#8756E4
ΔE00 4.26
Mediumslateblue
#7B68EE
ΔE00 4.71
Iris
#6258C4
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FD5 #BED55F
analogous
#5F83D5 #765FD5 #B15FD5
triadic
#765FD5 #D5765F #5FD576
tetradic
#765FD5 #D55F83 #BED55F #5FD5B1
square
#765FD5 #D55F83 #BED55F #5FD5B1
split-complementary
#765FD5 #D5B15F #83D55F
monochromatic
#3C2793 #4F33C3 #765FD5 #A08FE2 #C9C0EE
Accessibility & contrast
On white
4.81
#765FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#765FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FD5
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FD5 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C75D9
Deuteranopia (green-blind)
#1F6FD2
Tritanopia (blue-blind)
#597991
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #765fd5; /* rgb */ color: rgb(118, 95, 213); /* oklch */ color: oklch(56.8% 0.174 288.6);
Tailwind
colors: {
custom: {
50: '#a38de3',
500: '#765fd5',
950: '#000000',
},
}SCSS
$custom: #765fd5; $custom-light: #a38de3; $custom-dark: #000000;
JSON
{
"hex": "#765fd5",
"rgb": {
"r": 118,
"g": 95,
"b": 213
},
"hsl": {
"h": 251.695,
"s": 58.416,
"l": 60.392
},
"oklch": {
"l": 0.56792,
"c": 0.17407,
"h": 288.6
},
"luminance": 0.1684
}Semantic roles & 50–950 ramp
primary
#765FD5
secondary
#D6DEB1
accent
#C61FA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84