#765DC5#765DC5
#765DC5 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.156 H 291.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #765DC5 |
|---|---|
| RGB | rgb(118, 93, 197) |
| HSL | hsl(254, 47%, 57%) |
| HSV | hsv(254, 53%, 77%) |
| CMYK | cmyk(40.1%, 52.8%, 0%, 22.7%) |
| CIE-LAB | lab(46.59, 34.67, -51.09) |
| CIE-LCH | lch(46.59, 61.74, 304.16°) |
| OKLab | oklab(55.39% 0.0573 -0.145) |
| OKLCH | oklch(55.39% 0.156 291.6) |
| XYZ | xyz(21.4609, 15.7109, 54.7143) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.63
Slate Blue
#6A5ACD
ΔE00 2.90
Dark Periwinkle
#665FD1
ΔE00 3.97
Iris
#6258C4
ΔE00 4.08
Purpley
#8756E4
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765DC5 #ACC55D
analogous
#5D78C5 #765DC5 #AA5DC5
triadic
#765DC5 #C5765D #5DC576
tetradic
#765DC5 #C55D78 #ACC55D #5DC5AA
square
#765DC5 #C55D78 #ACC55D #5DC5AA
split-complementary
#765DC5 #C5AA5D #78C55D
monochromatic
#3F2C7B #563CA8 #765DC5 #9C8AD5 #C2B7E5
Accessibility & contrast
On white
5.07
#765DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#765DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765DC5
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765DC5 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#336CC3
Tritanopia (blue-blind)
#617388
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #765dc5; /* rgb */ color: rgb(118, 93, 197); /* oklch */ color: oklch(55.4% 0.156 291.6);
Tailwind
colors: {
custom: {
50: '#a28bd7',
500: '#765dc5',
950: '#000000',
},
}SCSS
$custom: #765dc5; $custom-light: #a28bd7; $custom-dark: #000000;
JSON
{
"hex": "#765dc5",
"rgb": {
"r": 118,
"g": 93,
"b": 197
},
"hsl": {
"h": 254.423,
"s": 47.273,
"l": 56.863
},
"oklch": {
"l": 0.55385,
"c": 0.15586,
"h": 291.6
},
"luminance": 0.15711
}Semantic roles & 50–950 ramp
primary
#765DC5
secondary
#CAD4AA
accent
#D751B7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83