#765BDE#765BDE
#765BDE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.191 H 288.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #765BDE |
|---|---|
| RGB | rgb(118, 91, 222) |
| HSL | hsl(252, 66%, 61%) |
| HSV | hsv(252, 59%, 87%) |
| CMYK | cmyk(46.8%, 59%, 0%, 12.9%) |
| CIE-LAB | lab(47.76, 42.92, -63.51) |
| CIE-LCH | lch(47.76, 76.65, 304.05°) |
| OKLab | oklab(56.76% 0.0598 -0.1815) |
| OKLCH | oklch(56.76% 0.191 288.2) |
| XYZ | xyz(24.3933, 16.6066, 71.0132) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.68
Slate Blue
#6A5ACD
ΔE00 3.23
Purpley
#8756E4
ΔE00 3.30
Dark Periwinkle
#665FD1
ΔE00 3.69
Mediumslateblue
#7B68EE
ΔE00 4.70
Iris
#6258C4
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765BDE #C3DE5B
analogous
#5B82DE #765BDE #B75BDE
triadic
#765BDE #DE765B #5BDE76
tetradic
#765BDE #DE5B82 #C3DE5B #5BDEB7
square
#765BDE #DE5B82 #C3DE5B #5BDEB7
split-complementary
#765BDE #DEB75B #82DE5B
monochromatic
#3A209F #4D2AD2 #765BDE #A18EE8 #CBC1F3
Accessibility & contrast
On white
4.86
#765BDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#765BDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765BDE
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765BDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765BDE | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#547994
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #765bde; /* rgb */ color: rgb(118, 91, 222); /* oklch */ color: oklch(56.8% 0.191 288.2);
Tailwind
colors: {
custom: {
50: '#a58ae9',
500: '#765bde',
950: '#000000',
},
}SCSS
$custom: #765bde; $custom-light: #a58ae9; $custom-dark: #000000;
JSON
{
"hex": "#765bde",
"rgb": {
"r": 118,
"g": 91,
"b": 222
},
"hsl": {
"h": 252.366,
"s": 66.497,
"l": 61.373
},
"oklch": {
"l": 0.56764,
"c": 0.19109,
"h": 288.2
},
"luminance": 0.16608
}Semantic roles & 50–950 ramp
primary
#765BDE
secondary
#D9E3B2
accent
#CE17A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84