#765BCF#765BCF
#765BCF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.172 H 290.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #765BCF |
|---|---|
| RGB | rgb(118, 91, 207) |
| HSL | hsl(254, 55%, 58%) |
| HSV | hsv(254, 56%, 81%) |
| CMYK | cmyk(43%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(46.76, 38.65, -56.57) |
| CIE-LCH | lch(46.76, 68.51, 304.34°) |
| OKLab | oklab(55.71% 0.06 -0.1611) |
| OKLCH | oklch(55.71% 0.172 290.4) |
| XYZ | xyz(22.4717, 15.8380, 60.8924) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.73
Slate Blue
#6A5ACD
ΔE00 2.29
Dark Periwinkle
#665FD1
ΔE00 3.48
Iris
#6258C4
ΔE00 4.06
Purpley
#8756E4
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765BCF #B4CF5B
analogous
#5B7ACF #765BCF #B05BCF
triadic
#765BCF #CF765B #5BCF76
tetradic
#765BCF #CF5B7A #B4CF5B #5BCFB0
square
#765BCF #CF5B7A #B4CF5B #5BCFB0
split-complementary
#765BCF #CFB05B #7ACF5B
monochromatic
#3E2888 #5436B7 #765BCF #9E8ADD #C5BAEB
Accessibility & contrast
On white
5.04
#765BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#765BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765BCF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765BCF | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#5C748C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #765bcf; /* rgb */ color: rgb(118, 91, 207); /* oklch */ color: oklch(55.7% 0.172 290.4);
Tailwind
colors: {
custom: {
50: '#a38ade',
500: '#765bcf',
950: '#000000',
},
}SCSS
$custom: #765bcf; $custom-light: #a38ade; $custom-dark: #000000;
JSON
{
"hex": "#765bcf",
"rgb": {
"r": 118,
"g": 91,
"b": 207
},
"hsl": {
"h": 253.966,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.55711,
"c": 0.17189,
"h": 290.4
},
"luminance": 0.15839
}Semantic roles & 50–950 ramp
primary
#765BCF
secondary
#CFDAAC
accent
#DE4ABC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83