#765FE3#765FE3
#765FE3 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.192 H 286.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #765FE3 |
|---|---|
| RGB | rgb(118, 95, 227) |
| HSL | hsl(250, 70%, 63%) |
| HSV | hsv(250, 58%, 89%) |
| CMYK | cmyk(48%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(48.98, 42.06, -64.36) |
| CIE-LCH | lch(48.98, 76.89, 303.16°) |
| OKLab | oklab(57.77% 0.0554 -0.184) |
| OKLCH | oklch(57.77% 0.192 286.7) |
| XYZ | xyz(25.4245, 17.5809, 74.7120) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.63
Purpley
#8756E4
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 3.84
Slate Blue
#6A5ACD
ΔE00 4.09
Iris
#6258C4
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FE3 #CCE35F
analogous
#5F8AE3 #765FE3 #B85FE3
triadic
#765FE3 #E3765F #5FE376
tetradic
#765FE3 #E35F8A #CCE35F #5FE3B8
square
#765FE3 #E35F8A #CCE35F #5FE3B8
split-complementary
#765FE3 #E3B85F #8AE35F
monochromatic
#361EAA #492BDA #765FE3 #A393EC #CFC7F5
Accessibility & contrast
On white
4.65
#765FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#765FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #765FE3
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FE3 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#517D98
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #765fe3; /* rgb */ color: rgb(118, 95, 227); /* oklch */ color: oklch(57.8% 0.192 286.7);
Tailwind
colors: {
custom: {
50: '#a58ded',
500: '#765fe3',
950: '#000000',
},
}SCSS
$custom: #765fe3; $custom-light: #a58ded; $custom-dark: #000000;
JSON
{
"hex": "#765fe3",
"rgb": {
"r": 118,
"g": 95,
"b": 227
},
"hsl": {
"h": 250.455,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.57771,
"c": 0.19213,
"h": 286.7
},
"luminance": 0.17582
}Semantic roles & 50–950 ramp
primary
#765FE3
secondary
#DEE7B7
accent
#D213B1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84