#765DCD#765DCD
#765DCD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.166 H 290.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #765DCD |
|---|---|
| RGB | rgb(118, 93, 205) |
| HSL | hsl(253, 53%, 58%) |
| HSV | hsv(253, 55%, 80%) |
| CMYK | cmyk(42.4%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(47.09, 36.92, -54.89) |
| CIE-LCH | lch(47.09, 66.15, 303.92°) |
| OKLab | oklab(55.91% 0.0576 -0.1561) |
| OKLCH | oklch(55.91% 0.166 290.2) |
| XYZ | xyz(22.4020, 16.0873, 59.6706) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.94
Slate Blue
#6A5ACD
ΔE00 2.42
Dark Periwinkle
#665FD1
ΔE00 3.34
Iris
#6258C4
ΔE00 4.11
Purpley
#8756E4
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765DCD #B4CD5D
analogous
#5D7CCD #765DCD #AE5DCD
triadic
#765DCD #CD765D #5DCD76
tetradic
#765DCD #CD5D7C #B4CD5D #5DCDAE
square
#765DCD #CD5D7C #B4CD5D #5DCDAE
split-complementary
#765DCD #CDAE5D #7CCD5D
monochromatic
#3E2986 #5438B5 #765DCD #9E8CDB #C5BBEA
Accessibility & contrast
On white
4.98
#765DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#765DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765DCD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765DCD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#286DCB
Tritanopia (blue-blind)
#5D758C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #765dcd; /* rgb */ color: rgb(118, 93, 205); /* oklch */ color: oklch(55.9% 0.166 290.2);
Tailwind
colors: {
custom: {
50: '#a38bdd',
500: '#765dcd',
950: '#000000',
},
}SCSS
$custom: #765dcd; $custom-light: #a38bdd; $custom-dark: #000000;
JSON
{
"hex": "#765dcd",
"rgb": {
"r": 118,
"g": 93,
"b": 205
},
"hsl": {
"h": 253.393,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.55912,
"c": 0.16643,
"h": 290.2
},
"luminance": 0.16088
}Semantic roles & 50–950 ramp
primary
#765DCD
secondary
#CFD9AD
accent
#DC4CBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83