#765FCF#765FCF
#765FCF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.166 H 289.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #765FCF |
|---|---|
| RGB | rgb(118, 95, 207) |
| HSL | hsl(252, 54%, 59%) |
| HSV | hsv(252, 54%, 81%) |
| CMYK | cmyk(43%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(47.68, 36.31, -55.10) |
| CIE-LCH | lch(47.68, 65.99, 303.39°) |
| OKLab | oklab(56.39% 0.0553 -0.1567) |
| OKLCH | oklch(56.39% 0.166 289.4) |
| XYZ | xyz(22.8228, 16.5402, 61.0095) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.21
Slate Blue
#6A5ACD
ΔE00 2.64
Dark Periwinkle
#665FD1
ΔE00 3.13
Iris
#6258C4
ΔE00 4.39
Purpley
#8756E4
ΔE00 4.72
Mediumslateblue
#7B68EE
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FCF #B8CF5F
analogous
#5F80CF #765FCF #AE5FCF
triadic
#765FCF #CF765F #5FCF76
tetradic
#765FCF #CF5F80 #B8CF5F #5FCFAE
square
#765FCF #CF5F80 #B8CF5F #5FCFAE
split-complementary
#765FCF #CFAE5F #80CF5F
monochromatic
#3D298A #5238B9 #765FCF #9E8EDD #C7BDEB
Accessibility & contrast
On white
4.87
#765FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#765FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FCF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FCF | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#2A6ECD
Tritanopia (blue-blind)
#5C778E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #765fcf; /* rgb */ color: rgb(118, 95, 207); /* oklch */ color: oklch(56.4% 0.166 289.4);
Tailwind
colors: {
custom: {
50: '#a38dde',
500: '#765fcf',
950: '#000000',
},
}SCSS
$custom: #765fcf; $custom-light: #a38dde; $custom-dark: #000000;
JSON
{
"hex": "#765fcf",
"rgb": {
"r": 118,
"g": 95,
"b": 207
},
"hsl": {
"h": 252.321,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.56387,
"c": 0.16619,
"h": 289.4
},
"luminance": 0.16541
}Semantic roles & 50–950 ramp
primary
#765FCF
secondary
#D2DBAF
accent
#DD4BBF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83