#765BDB#765BDB
#765BDB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.5% C 0.187 H 288.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #765BDB |
|---|---|
| RGB | rgb(118, 91, 219) |
| HSL | hsl(253, 64%, 61%) |
| HSV | hsv(253, 58%, 86%) |
| CMYK | cmyk(46.1%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(47.56, 42.06, -62.14) |
| CIE-LCH | lch(47.56, 75.03, 304.09°) |
| OKLab | oklab(56.55% 0.0599 -0.1774) |
| OKLCH | oklch(56.55% 0.187 288.7) |
| XYZ | xyz(23.9948, 16.4472, 68.9144) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.36
Slate Blue
#6A5ACD
ΔE00 2.94
Purpley
#8756E4
ΔE00 3.41
Dark Periwinkle
#665FD1
ΔE00 3.53
Iris
#6258C4
ΔE00 4.91
Mediumslateblue
#7B68EE
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765BDB #C0DB5B
analogous
#5B80DB #765BDB #B65BDB
triadic
#765BDB #DB765B #5BDB76
tetradic
#765BDB #DB5B80 #C0DB5B #5BDBB6
square
#765BDB #DB5B80 #C0DB5B #5BDBB6
split-complementary
#765BDB #DBB65B #80DB5B
monochromatic
#3B229A #4E2DCC #765BDB #A08DE6 #CABFF1
Accessibility & contrast
On white
4.90
#765BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#765BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765BDB
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765BDB | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#567892
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #765bdb; /* rgb */ color: rgb(118, 91, 219); /* oklch */ color: oklch(56.5% 0.187 288.7);
Tailwind
colors: {
custom: {
50: '#a48ae7',
500: '#765bdb',
950: '#000000',
},
}SCSS
$custom: #765bdb; $custom-light: #a48ae7; $custom-dark: #000000;
JSON
{
"hex": "#765bdb",
"rgb": {
"r": 118,
"g": 91,
"b": 219
},
"hsl": {
"h": 252.656,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.56549,
"c": 0.18729,
"h": 288.7
},
"luminance": 0.16448
}Semantic roles & 50–950 ramp
primary
#765BDB
secondary
#D7E1B1
accent
#CC1AA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84