#765CF2#765CF2
#765CF2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.215 H 285.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #765CF2 |
|---|---|
| RGB | rgb(118, 92, 242) |
| HSL | hsl(250, 85%, 65%) |
| HSV | hsv(250, 62%, 95%) |
| CMYK | cmyk(51.2%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(49.39, 48.11, -72.13) |
| CIE-LCH | lch(49.39, 86.71, 303.70°) |
| OKLab | oklab(58.4% 0.0577 -0.2068) |
| OKLCH | oklch(58.4% 0.215 285.6) |
| XYZ | xyz(27.3206, 17.9152, 86.0056) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.46
Purpley
#8756E4
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.62
Iris
#6258C4
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CF2 #D8F25C
analogous
#5C8DF2 #765CF2 #C15CF2
triadic
#765CF2 #F2765C #5CF276
tetradic
#765CF2 #F25C8D #D8F25C #5CF2C1
square
#765CF2 #F25C8D #D8F25C #5CF2C1
split-complementary
#765CF2 #F2C15C #8DF25C
monochromatic
#2F10C4 #4623ED #765CF2 #A695F7 #D5CDFB
Accessibility & contrast
On white
4.58
#765CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#765CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #765CF2
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##765CF2 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#46809F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #765cf2; /* rgb */ color: rgb(118, 92, 242); /* oklch */ color: oklch(58.4% 0.215 285.6);
Tailwind
colors: {
custom: {
50: '#a78bf7',
500: '#765cf2',
950: '#000000',
},
}SCSS
$custom: #765cf2; $custom-light: #a78bf7; $custom-dark: #000000;
JSON
{
"hex": "#765cf2",
"rgb": {
"r": 118,
"g": 92,
"b": 242
},
"hsl": {
"h": 250.4,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.58405,
"c": 0.21473,
"h": 285.6
},
"luminance": 0.17917
}Semantic roles & 50–950 ramp
primary
#765CF2
secondary
#E5EEBC
accent
#E204BB
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85