#765CDD#765CDD
#765CDD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.9% C 0.188 H 288.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #765CDD |
|---|---|
| RGB | rgb(118, 92, 221) |
| HSL | hsl(252, 65%, 61%) |
| HSV | hsv(252, 58%, 87%) |
| CMYK | cmyk(46.6%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(47.91, 42.06, -62.70) |
| CIE-LCH | lch(47.91, 75.50, 303.85°) |
| OKLab | oklab(56.85% 0.0588 -0.1791) |
| OKLCH | oklch(56.85% 0.188 288.2) |
| XYZ | xyz(24.3458, 16.7253, 70.3381) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.62
Slate Blue
#6A5ACD
ΔE00 3.17
Purpley
#8756E4
ΔE00 3.44
Dark Periwinkle
#665FD1
ΔE00 3.53
Mediumslateblue
#7B68EE
ΔE00 4.54
Iris
#6258C4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CDD #C3DD5C
analogous
#5C83DD #765CDD #B75CDD
triadic
#765CDD #DD765C #5CDD76
tetradic
#765CDD #DD5C83 #C3DD5C #5CDDB7
square
#765CDD #DD5C83 #C3DD5C #5CDDB7
split-complementary
#765CDD #DDB75C #83DD5C
monochromatic
#3A219E #4D2BD0 #765CDD #A18FE8 #CBC1F2
Accessibility & contrast
On white
4.83
#765CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#765CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765CDD
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765CDD | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#557994
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #765cdd; /* rgb */ color: rgb(118, 92, 221); /* oklch */ color: oklch(56.9% 0.188 288.2);
Tailwind
colors: {
custom: {
50: '#a48be8',
500: '#765cdd',
950: '#000000',
},
}SCSS
$custom: #765cdd; $custom-light: #a48be8; $custom-dark: #000000;
JSON
{
"hex": "#765cdd",
"rgb": {
"r": 118,
"g": 92,
"b": 221
},
"hsl": {
"h": 252.093,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.56854,
"c": 0.18848,
"h": 288.2
},
"luminance": 0.16726
}Semantic roles & 50–950 ramp
primary
#765CDD
secondary
#D9E3B2
accent
#CD18A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84