#765FD9#765FD9
#765FD9 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.179 H 288.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #765FD9 |
|---|---|
| RGB | rgb(118, 95, 217) |
| HSL | hsl(251, 62%, 61%) |
| HSV | hsv(251, 56%, 85%) |
| CMYK | cmyk(45.6%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(48.32, 39.17, -59.77) |
| CIE-LCH | lch(48.32, 71.47, 303.24°) |
| OKLab | oklab(57.07% 0.0555 -0.1705) |
| OKLCH | oklch(57.07% 0.179 288) |
| XYZ | xyz(24.0842, 17.0448, 67.6532) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.60
Slate Blue
#6A5ACD
ΔE00 3.10
Dark Periwinkle
#665FD1
ΔE00 3.17
Purpley
#8756E4
ΔE00 4.04
Mediumslateblue
#7B68EE
ΔE00 4.25
Iris
#6258C4
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FD9 #C2D95F
analogous
#5F85D9 #765FD9 #B35FD9
triadic
#765FD9 #D9765F #5FD976
tetradic
#765FD9 #D95F85 #C2D95F #5FD9B3
square
#765FD9 #D95F85 #C2D95F #5FD9B3
split-complementary
#765FD9 #D9B35F #85D95F
monochromatic
#3A2499 #4D30CB #765FD9 #A090E5 #CBC2F0
Accessibility & contrast
On white
4.76
#765FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#765FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FD9
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FD9 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1276DD
Deuteranopia (green-blind)
#1470D6
Tritanopia (blue-blind)
#577A93
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #765fd9; /* rgb */ color: rgb(118, 95, 217); /* oklch */ color: oklch(57.1% 0.179 288.0);
Tailwind
colors: {
custom: {
50: '#a48de5',
500: '#765fd9',
950: '#000000',
},
}SCSS
$custom: #765fd9; $custom-light: #a48de5; $custom-dark: #000000;
JSON
{
"hex": "#765fd9",
"rgb": {
"r": 118,
"g": 95,
"b": 217
},
"hsl": {
"h": 251.311,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.57067,
"c": 0.17927,
"h": 288
},
"luminance": 0.17046
}Semantic roles & 50–950 ramp
primary
#765FD9
secondary
#D8E1B3
accent
#C91CA9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84