#765CD7#765CD7
#765CD7 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.181 H 289.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #765CD7 |
|---|---|
| RGB | rgb(118, 92, 215) |
| HSL | hsl(253, 61%, 60%) |
| HSV | hsv(253, 57%, 84%) |
| CMYK | cmyk(45.1%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(47.51, 40.34, -59.94) |
| CIE-LCH | lch(47.51, 72.25, 303.94°) |
| OKLab | oklab(56.43% 0.0589 -0.171) |
| OKLCH | oklch(56.43% 0.181 289) |
| XYZ | xyz(23.5606, 16.4113, 66.2031) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.06
Slate Blue
#6A5ACD
ΔE00 2.64
Dark Periwinkle
#665FD1
ΔE00 3.30
Purpley
#8756E4
ΔE00 3.72
Iris
#6258C4
ΔE00 4.62
Mediumslateblue
#7B68EE
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CD7 #BDD75C
analogous
#5C7FD7 #765CD7 #B35CD7
triadic
#765CD7 #D7765C #5CD776
tetradic
#765CD7 #D75C7F #BDD75C #5CD7B3
square
#765CD7 #D75C7F #BDD75C #5CD7B3
split-complementary
#765CD7 #D7B35C #7FD75C
monochromatic
#3C2494 #5030C5 #765CD7 #9F8DE3 #C9BEEF
Accessibility & contrast
On white
4.90
#765CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#765CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765CD7
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765CD7 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#0C6ED4
Tritanopia (blue-blind)
#587791
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #765cd7; /* rgb */ color: rgb(118, 92, 215); /* oklch */ color: oklch(56.4% 0.181 289.0);
Tailwind
colors: {
custom: {
50: '#a48be4',
500: '#765cd7',
950: '#000000',
},
}SCSS
$custom: #765cd7; $custom-light: #a48be4; $custom-dark: #000000;
JSON
{
"hex": "#765cd7",
"rgb": {
"r": 118,
"g": 92,
"b": 215
},
"hsl": {
"h": 252.683,
"s": 60.591,
"l": 60.196
},
"oklch": {
"l": 0.5643,
"c": 0.18082,
"h": 289
},
"luminance": 0.16412
}Semantic roles & 50–950 ramp
primary
#765CD7
secondary
#D5DFB0
accent
#C81DA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84