#765ABB#765ABB
#765ABB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.2% C 0.147 H 294.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #765ABB |
|---|---|
| RGB | rgb(118, 90, 187) |
| HSL | hsl(257, 42%, 54%) |
| HSV | hsv(257, 52%, 73%) |
| CMYK | cmyk(36.9%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(45.29, 33.68, -47.37) |
| CIE-LCH | lch(45.29, 58.12, 305.41°) |
| OKLab | oklab(54.22% 0.0605 -0.1341) |
| OKLCH | oklch(54.22% 0.147 294.3) |
| XYZ | xyz(20.0947, 14.7513, 48.7926) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.09
Royal Purple
#7851A9
ΔE00 4.29
Iris
#6258C4
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 5.46
Deep Lavender
#8D5EB7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765ABB #9FBB5A
analogous
#5A6FBB #765ABB #A75ABB
triadic
#765ABB #BB765A #5ABB76
tetradic
#765ABB #BB5A6F #9FBB5A #5ABBA7
square
#765ABB #BB5A6F #9FBB5A #5ABBA7
split-complementary
#765ABB #BBA75A #6FBB5A
monochromatic
#402D6D #593F99 #765ABB #9A85CD #BEB1DF
Accessibility & contrast
On white
5.32
#765ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#765ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765ABB
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765ABB | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#656D82
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #765abb; /* rgb */ color: rgb(118, 90, 187); /* oklch */ color: oklch(54.2% 0.147 294.3);
Tailwind
colors: {
custom: {
50: '#a189d0',
500: '#765abb',
950: '#000000',
},
}SCSS
$custom: #765abb; $custom-light: #a189d0; $custom-dark: #000000;
JSON
{
"hex": "#765abb",
"rgb": {
"r": 118,
"g": 90,
"b": 187
},
"hsl": {
"h": 257.32,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.54223,
"c": 0.14706,
"h": 294.3
},
"luminance": 0.14752
}Semantic roles & 50–950 ramp
primary
#765ABB
secondary
#C1CDA4
accent
#D156AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82