#765EB5#765EB5
#765EB5 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.6% C 0.133 H 294.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #765EB5 |
|---|---|
| RGB | rgb(118, 94, 181) |
| HSL | hsl(257, 37%, 54%) |
| HSV | hsv(257, 48%, 71%) |
| CMYK | cmyk(34.8%, 48.1%, 0%, 29%) |
| CIE-LAB | lab(45.90, 29.66, -42.91) |
| CIE-LCH | lch(45.90, 52.17, 304.66°) |
| OKLab | oklab(54.56% 0.0546 -0.121) |
| OKLCH | oklch(54.56% 0.133 294.3) |
| XYZ | xyz(19.8123, 15.1928, 45.5958) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.21
Deep Lavender
#8D5EB7
ΔE00 5.24
Iris
#6258C4
ΔE00 5.46
Dark Periwinkle
#665FD1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765EB5 #9DB55E
analogous
#5E72B5 #765EB5 #A25EB5
triadic
#765EB5 #B5765E #5EB576
tetradic
#765EB5 #B55E72 #9DB55E #5EB5A2
square
#765EB5 #B55E72 #9DB55E #5EB5A2
split-complementary
#765EB5 #B5A25E #72B55E
monochromatic
#403069 #594392 #765EB5 #9A88C8 #BDB2DC
Accessibility & contrast
On white
5.20
#765EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#765EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765EB5
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765EB5 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406EB8
Deuteranopia (green-blind)
#446BB3
Tritanopia (blue-blind)
#676F81
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #765eb5; /* rgb */ color: rgb(118, 94, 181); /* oklch */ color: oklch(54.6% 0.133 294.3);
Tailwind
colors: {
custom: {
50: '#a08ccb',
500: '#765eb5',
950: '#000000',
},
}SCSS
$custom: #765eb5; $custom-light: #a08ccb; $custom-dark: #000000;
JSON
{
"hex": "#765eb5",
"rgb": {
"r": 118,
"g": 94,
"b": 181
},
"hsl": {
"h": 256.552,
"s": 37.021,
"l": 53.922
},
"oklch": {
"l": 0.54564,
"c": 0.13274,
"h": 294.3
},
"luminance": 0.15193
}Semantic roles & 50–950 ramp
primary
#765EB5
secondary
#C0CAA5
accent
#CD5BAD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82