#765AC2#765AC2
#765AC2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.156 H 292.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #765AC2 |
|---|---|
| RGB | rgb(118, 90, 194) |
| HSL | hsl(256, 46%, 56%) |
| HSV | hsv(256, 54%, 76%) |
| CMYK | cmyk(39.2%, 53.6%, 0%, 23.9%) |
| CIE-LAB | lab(45.71, 35.60, -50.76) |
| CIE-LCH | lch(45.71, 62.00, 305.04°) |
| OKLab | oklab(54.67% 0.0609 -0.144) |
| OKLCH | oklch(54.67% 0.156 292.9) |
| XYZ | xyz(20.8624, 15.0584, 52.8359) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.91
Slate Blue
#6A5ACD
ΔE00 3.15
Iris
#6258C4
ΔE00 4.04
Dark Periwinkle
#665FD1
ΔE00 4.60
Royal Purple
#7851A9
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765AC2 #A6C25A
analogous
#5A72C2 #765AC2 #AA5AC2
triadic
#765AC2 #C2765A #5AC276
tetradic
#765AC2 #C25A72 #A6C25A #5AC2AA
square
#765AC2 #C25A72 #A6C25A #5AC2AA
split-complementary
#765AC2 #C2AA5A #72C25A
monochromatic
#402C76 #583CA3 #765AC2 #9B87D3 #C0B3E3
Accessibility & contrast
On white
5.23
#765AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#765AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765AC2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765AC2 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#627085
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #765ac2; /* rgb */ color: rgb(118, 90, 194); /* oklch */ color: oklch(54.7% 0.156 292.9);
Tailwind
colors: {
custom: {
50: '#a289d5',
500: '#765ac2',
950: '#000000',
},
}SCSS
$custom: #765ac2; $custom-light: #a289d5; $custom-dark: #000000;
JSON
{
"hex": "#765ac2",
"rgb": {
"r": 118,
"g": 90,
"b": 194
},
"hsl": {
"h": 256.154,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.54673,
"c": 0.15633,
"h": 292.9
},
"luminance": 0.15059
}Semantic roles & 50–950 ramp
primary
#765AC2
secondary
#C6D2A6
accent
#D652B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83