#765FD4#765FD4
#765FD4 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.173 H 288.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #765FD4 |
|---|---|
| RGB | rgb(118, 95, 212) |
| HSL | hsl(252, 58%, 60%) |
| HSV | hsv(252, 55%, 83%) |
| CMYK | cmyk(44.3%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(47.99, 37.74, -57.45) |
| CIE-LCH | lch(47.99, 68.73, 303.30°) |
| OKLab | oklab(56.72% 0.0554 -0.1636) |
| OKLCH | oklch(56.72% 0.173 288.7) |
| XYZ | xyz(23.4437, 16.7886, 64.2799) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.28
Slate Blue
#6A5ACD
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 3.05
Purpley
#8756E4
ΔE00 4.33
Iris
#6258C4
ΔE00 4.67
Mediumslateblue
#7B68EE
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FD4 #BDD45F
analogous
#5F82D4 #765FD4 #B05FD4
triadic
#765FD4 #D4765F #5FD476
tetradic
#765FD4 #D45F82 #BDD45F #5FD4B0
square
#765FD4 #D45F82 #BDD45F #5FD4B0
split-complementary
#765FD4 #D4B05F #82D45F
monochromatic
#3C2791 #5034C2 #765FD4 #9F8FE1 #C9BFEE
Accessibility & contrast
On white
4.82
#765FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#765FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FD4
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FD4 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E74D8
Deuteranopia (green-blind)
#216FD1
Tritanopia (blue-blind)
#597890
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #765fd4; /* rgb */ color: rgb(118, 95, 212); /* oklch */ color: oklch(56.7% 0.173 288.7);
Tailwind
colors: {
custom: {
50: '#a38de2',
500: '#765fd4',
950: '#000000',
},
}SCSS
$custom: #765fd4; $custom-light: #a38de2; $custom-dark: #000000;
JSON
{
"hex": "#765fd4",
"rgb": {
"r": 118,
"g": 95,
"b": 212
},
"hsl": {
"h": 251.795,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.56724,
"c": 0.17276,
"h": 288.7
},
"luminance": 0.16789
}Semantic roles & 50–950 ramp
primary
#765FD4
secondary
#D5DEB1
accent
#C520A5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83