#765FDF#765FDF
#765FDF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.187 H 287.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #765FDF |
|---|---|
| RGB | rgb(118, 95, 223) |
| HSL | hsl(251, 67%, 62%) |
| HSV | hsv(251, 57%, 87%) |
| CMYK | cmyk(47.1%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(48.71, 40.90, -62.54) |
| CIE-LCH | lch(48.71, 74.72, 303.19°) |
| OKLab | oklab(57.49% 0.0554 -0.1786) |
| OKLCH | oklch(57.49% 0.187 287.2) |
| XYZ | xyz(24.8788, 17.3626, 71.8382) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.18
Dark Periwinkle
#665FD1
ΔE00 3.52
Mediumslateblue
#7B68EE
ΔE00 3.64
Slate Blue
#6A5ACD
ΔE00 3.66
Purpley
#8756E4
ΔE00 3.86
Iris
#6258C4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765FDF #C8DF5F
analogous
#5F88DF #765FDF #B65FDF
triadic
#765FDF #DF765F #5FDF76
tetradic
#765FDF #DF5F88 #C8DF5F #5FDFB6
square
#765FDF #DF5F88 #C8DF5F #5FDFB6
split-complementary
#765FDF #DFB65F #88DF5F
monochromatic
#3821A3 #4A2CD5 #765FDF #A292E9 #CDC5F3
Accessibility & contrast
On white
4.70
#765FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#765FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765FDF
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765FDF | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#537C96
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #765fdf; /* rgb */ color: rgb(118, 95, 223); /* oklch */ color: oklch(57.5% 0.187 287.2);
Tailwind
colors: {
custom: {
50: '#a48dea',
500: '#765fdf',
950: '#000000',
},
}SCSS
$custom: #765fdf; $custom-light: #a48dea; $custom-dark: #000000;
JSON
{
"hex": "#765fdf",
"rgb": {
"r": 118,
"g": 95,
"b": 223
},
"hsl": {
"h": 250.781,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.57487,
"c": 0.18702,
"h": 287.2
},
"luminance": 0.17364
}Semantic roles & 50–950 ramp
primary
#765FDF
secondary
#DCE4B6
accent
#CF17AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84