#765FC6#765FC6
#765FC6 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.8% C 0.154 H 290.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #765FC6 |
|---|---|
| RGB | rgb(118, 95, 198) |
| HSL | hsl(253, 47%, 57%) |
| HSV | hsv(253, 52%, 78%) |
| CMYK | cmyk(40.4%, 52%, 0%, 22.4%) |
| CIE-LAB | lab(47.12, 33.77, -50.82) |
| CIE-LCH | lch(47.12, 61.01, 303.61°) |
| OKLab | oklab(55.8% 0.0548 -0.1442) |
| OKLCH | oklch(55.8% 0.154 290.8) |
| XYZ | xyz(21.7537, 16.1125, 55.3790) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.76
Slate Blue
#6A5ACD
ΔE00 3.02
Dark Periwinkle
#665FD1
ΔE00 3.76
Iris
#6258C4
ΔE00 4.27
Purpley
#8756E4
ΔE00 5.65
Deep Lavender
#8D5EB7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FC6 #AFC65F
analogous
#5F7CC6 #765FC6 #A95FC6
triadic
#765FC6 #C6765F #5FC676
tetradic
#765FC6 #C65F7C #AFC65F #5FC6A9
square
#765FC6 #C65F7C #AFC65F #5FC6A9
split-complementary
#765FC6 #C6A95F #7CC65F
monochromatic
#3F2D7E #553DAB #765FC6 #9D8CD6 #C3B9E6
Accessibility & contrast
On white
4.97
#765FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#765FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FC6
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FC6 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3272CA
Deuteranopia (green-blind)
#366EC4
Tritanopia (blue-blind)
#607489
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #765fc6; /* rgb */ color: rgb(118, 95, 198); /* oklch */ color: oklch(55.8% 0.154 290.8);
Tailwind
colors: {
custom: {
50: '#a28dd8',
500: '#765fc6',
950: '#000000',
},
}SCSS
$custom: #765fc6; $custom-light: #a28dd8; $custom-dark: #000000;
JSON
{
"hex": "#765fc6",
"rgb": {
"r": 118,
"g": 95,
"b": 198
},
"hsl": {
"h": 253.398,
"s": 47.465,
"l": 57.451
},
"oklch": {
"l": 0.55798,
"c": 0.15423,
"h": 290.8
},
"luminance": 0.16113
}Semantic roles & 50–950 ramp
primary
#765FC6
secondary
#CCD5AC
accent
#D751B9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83