#765BDF#765BDF
#765BDF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.192 H 288.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #765BDF |
|---|---|
| RGB | rgb(118, 91, 223) |
| HSL | hsl(252, 67%, 62%) |
| HSV | hsv(252, 59%, 87%) |
| CMYK | cmyk(47.1%, 59.2%, 0%, 12.5%) |
| CIE-LAB | lab(47.83, 43.20, -63.97) |
| CIE-LCH | lch(47.83, 77.19, 304.03°) |
| OKLab | oklab(56.84% 0.0598 -0.1828) |
| OKLCH | oklch(56.84% 0.192 288.1) |
| XYZ | xyz(24.5277, 16.6604, 71.7211) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.79
Purpley
#8756E4
ΔE00 3.28
Slate Blue
#6A5ACD
ΔE00 3.33
Dark Periwinkle
#665FD1
ΔE00 3.74
Mediumslateblue
#7B68EE
ΔE00 4.62
Iris
#6258C4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765BDF #C4DF5B
analogous
#5B82DF #765BDF #B85BDF
triadic
#765BDF #DF765B #5BDF76
tetradic
#765BDF #DF5B82 #C4DF5B #5BDFB8
square
#765BDF #DF5B82 #C4DF5B #5BDFB8
split-complementary
#765BDF #DFB85B #82DF5B
monochromatic
#3A1FA0 #4C29D4 #765BDF #A18EE9 #CCC1F3
Accessibility & contrast
On white
4.85
#765BDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#765BDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765BDF
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765BDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765BDF | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#537994
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #765bdf; /* rgb */ color: rgb(118, 91, 223); /* oklch */ color: oklch(56.8% 0.192 288.1);
Tailwind
colors: {
custom: {
50: '#a58aea',
500: '#765bdf',
950: '#000000',
},
}SCSS
$custom: #765bdf; $custom-light: #a58aea; $custom-dark: #000000;
JSON
{
"hex": "#765bdf",
"rgb": {
"r": 118,
"g": 91,
"b": 223
},
"hsl": {
"h": 252.273,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.56837,
"c": 0.19236,
"h": 288.1
},
"luminance": 0.16661
}Semantic roles & 50–950 ramp
primary
#765BDF
secondary
#D9E3B2
accent
#CF16A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84