#765DCF#765DCF
#765DCF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.169 H 289.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #765DCF |
|---|---|
| RGB | rgb(118, 93, 207) |
| HSL | hsl(253, 54%, 59%) |
| HSV | hsv(253, 55%, 81%) |
| CMYK | cmyk(43%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(47.22, 37.48, -55.84) |
| CIE-LCH | lch(47.22, 67.25, 303.87°) |
| OKLab | oklab(56.05% 0.0577 -0.1589) |
| OKLCH | oklch(56.05% 0.169 289.9) |
| XYZ | xyz(22.6449, 16.1845, 60.9502) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.89
Slate Blue
#6A5ACD
ΔE00 2.40
Dark Periwinkle
#665FD1
ΔE00 3.26
Iris
#6258C4
ΔE00 4.19
Purpley
#8756E4
ΔE00 4.45
Mediumslateblue
#7B68EE
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765DCF #B6CF5D
analogous
#5D7DCF #765DCF #AF5DCF
triadic
#765DCF #CF765D #5DCF76
tetradic
#765DCF #CF5D7D #B6CF5D #5DCFAF
square
#765DCF #CF5D7D #B6CF5D #5DCFAF
split-complementary
#765DCF #CFAF5D #7DCF5D
monochromatic
#3E2989 #5337B8 #765DCF #9E8CDD #C6BBEB
Accessibility & contrast
On white
4.96
#765DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#765DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765DCF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765DCF | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#5C768D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #765dcf; /* rgb */ color: rgb(118, 93, 207); /* oklch */ color: oklch(56.0% 0.169 289.9);
Tailwind
colors: {
custom: {
50: '#a38bde',
500: '#765dcf',
950: '#000000',
},
}SCSS
$custom: #765dcf; $custom-light: #a38bde; $custom-dark: #000000;
JSON
{
"hex": "#765dcf",
"rgb": {
"r": 118,
"g": 93,
"b": 207
},
"hsl": {
"h": 253.158,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.56047,
"c": 0.16904,
"h": 289.9
},
"luminance": 0.16185
}Semantic roles & 50–950 ramp
primary
#765DCF
secondary
#D1DAAD
accent
#DE4ABD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83