#765EE3#765EE3
#765EE3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.193 H 287.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #765EE3 |
|---|---|
| RGB | rgb(118, 94, 227) |
| HSL | hsl(251, 70%, 63%) |
| HSV | hsv(251, 59%, 89%) |
| CMYK | cmyk(48%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(48.76, 42.64, -64.72) |
| CIE-LCH | lch(48.76, 77.50, 303.38°) |
| OKLab | oklab(57.61% 0.0564 -0.185) |
| OKLCH | oklch(57.61% 0.193 287) |
| XYZ | xyz(25.3350, 17.4019, 74.6821) |
| Luminance | 0.1740 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.50
Mediumslateblue
#7B68EE
ΔE00 3.55
Purpley
#8756E4
ΔE00 3.66
Dark Periwinkle
#665FD1
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 3.98
Iris
#6258C4
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765EE3 #CBE35E
analogous
#5E88E3 #765EE3 #B85EE3
triadic
#765EE3 #E3765E #5EE376
tetradic
#765EE3 #E35E88 #CBE35E #5EE3B8
square
#765EE3 #E35E88 #CBE35E #5EE3B8
split-complementary
#765EE3 #E3B85E #88E35E
monochromatic
#371DA9 #4A2ADA #765EE3 #A292EC #CFC6F5
Accessibility & contrast
On white
4.69
#765EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#765EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765EE3
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765EE3 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#517D97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #765ee3; /* rgb */ color: rgb(118, 94, 227); /* oklch */ color: oklch(57.6% 0.193 287.0);
Tailwind
colors: {
custom: {
50: '#a58ced',
500: '#765ee3',
950: '#000000',
},
}SCSS
$custom: #765ee3; $custom-light: #a58ced; $custom-dark: #000000;
JSON
{
"hex": "#765ee3",
"rgb": {
"r": 118,
"g": 94,
"b": 227
},
"hsl": {
"h": 250.827,
"s": 70.37,
"l": 62.941
},
"oklch": {
"l": 0.57609,
"c": 0.19345,
"h": 287
},
"luminance": 0.17403
}Semantic roles & 50–950 ramp
primary
#765EE3
secondary
#DEE6B6
accent
#D213B0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84