#765CDB#765CDB
#765CDB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.186 H 288.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #765CDB |
|---|---|
| RGB | rgb(118, 92, 219) |
| HSL | hsl(252, 64%, 61%) |
| HSV | hsv(252, 58%, 86%) |
| CMYK | cmyk(46.1%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(47.78, 41.48, -61.78) |
| CIE-LCH | lch(47.78, 74.42, 303.88°) |
| OKLab | oklab(56.71% 0.0588 -0.1764) |
| OKLCH | oklch(56.71% 0.186 288.4) |
| XYZ | xyz(24.0809, 16.6194, 68.9431) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.42
Slate Blue
#6A5ACD
ΔE00 2.98
Dark Periwinkle
#665FD1
ΔE00 3.43
Purpley
#8756E4
ΔE00 3.52
Mediumslateblue
#7B68EE
ΔE00 4.72
Iris
#6258C4
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CDB #C1DB5C
analogous
#5C81DB #765CDB #B55CDB
triadic
#765CDB #DB765C #5CDB76
tetradic
#765CDB #DB5C81 #C1DB5C #5CDBB5
square
#765CDB #DB5C81 #C1DB5C #5CDBB5
split-complementary
#765CDB #DBB55C #81DB5C
monochromatic
#3B229A #4E2DCD #765CDB #A08EE6 #CAC0F1
Accessibility & contrast
On white
4.86
#765CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#765CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765CDB
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765CDB | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#567993
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #765cdb; /* rgb */ color: rgb(118, 92, 219); /* oklch */ color: oklch(56.7% 0.186 288.4);
Tailwind
colors: {
custom: {
50: '#a48be7',
500: '#765cdb',
950: '#000000',
},
}SCSS
$custom: #765cdb; $custom-light: #a48be7; $custom-dark: #000000;
JSON
{
"hex": "#765cdb",
"rgb": {
"r": 118,
"g": 92,
"b": 219
},
"hsl": {
"h": 252.283,
"s": 63.819,
"l": 60.98
},
"oklch": {
"l": 0.56712,
"c": 0.18594,
"h": 288.4
},
"luminance": 0.1662
}Semantic roles & 50–950 ramp
primary
#765CDB
secondary
#D8E1B1
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84