#765CE5#765CE5
#765CE5 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.199 H 287.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #765CE5 |
|---|---|
| RGB | rgb(118, 92, 229) |
| HSL | hsl(251, 72%, 63%) |
| HSV | hsv(251, 60%, 90%) |
| CMYK | cmyk(48.5%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(48.46, 44.36, -66.33) |
| CIE-LCH | lch(48.46, 79.80, 303.77°) |
| OKLab | oklab(57.43% 0.0585 -0.1898) |
| OKLCH | oklch(57.43% 0.199 287.1) |
| XYZ | xyz(25.4371, 17.1618, 76.0858) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 3.56
Mediumslateblue
#7B68EE
ΔE00 3.93
Slate Blue
#6A5ACD
ΔE00 4.05
Dark Periwinkle
#665FD1
ΔE00 4.11
Iris
#6258C4
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CE5 #CBE55C
analogous
#5C86E5 #765CE5 #BB5CE5
triadic
#765CE5 #E5765C #5CE576
tetradic
#765CE5 #E55C86 #CBE55C #5CE5BB
square
#765CE5 #E55C86 #CBE55C #5CE5BB
split-complementary
#765CE5 #E5BB5C #86E55C
monochromatic
#371BAB #4A27DD #765CE5 #A291ED #CFC6F6
Accessibility & contrast
On white
4.74
#765CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#765CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765CE5
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765CE5 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#4F7C98
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #765ce5; /* rgb */ color: rgb(118, 92, 229); /* oklch */ color: oklch(57.4% 0.199 287.1);
Tailwind
colors: {
custom: {
50: '#a58bee',
500: '#765ce5',
950: '#000000',
},
}SCSS
$custom: #765ce5; $custom-light: #a58bee; $custom-dark: #000000;
JSON
{
"hex": "#765ce5",
"rgb": {
"r": 118,
"g": 92,
"b": 229
},
"hsl": {
"h": 251.387,
"s": 72.487,
"l": 62.941
},
"oklch": {
"l": 0.57433,
"c": 0.1986,
"h": 287.1
},
"luminance": 0.17163
}Semantic roles & 50–950 ramp
primary
#765CE5
secondary
#DEE7B6
accent
#D511AF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84