#764DC2#764DC2
#764DC2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.175 H 296.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #764DC2 |
|---|---|
| RGB | rgb(118, 77, 194) |
| HSL | hsl(261, 49%, 53%) |
| HSV | hsv(261, 60%, 76%) |
| CMYK | cmyk(39.2%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(42.84, 43.06, -55.38) |
| CIE-LCH | lch(42.84, 70.15, 307.87°) |
| OKLab | oklab(52.56% 0.0767 -0.1576) |
| OKLCH | oklch(52.56% 0.175 296) |
| XYZ | xyz(19.8602, 13.0540, 52.5018) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.00
Iris
#6258C4
ΔE00 5.34
Bluish Purple
#703BE7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764DC2 #99C24D
analogous
#4D5EC2 #764DC2 #B14DC2
triadic
#764DC2 #C2764D #4DC276
tetradic
#764DC2 #C24D5E #99C24D #4DC2B1
square
#764DC2 #C24D5E #99C24D #4DC2B1
split-complementary
#764DC2 #C2B14D #5EC24D
monochromatic
#3F266F #5A369C #764DC2 #997BD2 #BCA8E1
Accessibility & contrast
On white
5.82
#764DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#764DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764DC2
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764DC2 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1564BF
Tritanopia (blue-blind)
#636780
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #764dc2; /* rgb */ color: rgb(118, 77, 194); /* oklch */ color: oklch(52.6% 0.175 296.0);
Tailwind
colors: {
custom: {
50: '#a281d5',
500: '#764dc2',
950: '#000000',
},
}SCSS
$custom: #764dc2; $custom-light: #a281d5; $custom-dark: #000000;
JSON
{
"hex": "#764dc2",
"rgb": {
"r": 118,
"g": 77,
"b": 194
},
"hsl": {
"h": 261.026,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.52561,
"c": 0.17524,
"h": 296
},
"luminance": 0.13054
}Semantic roles & 50–950 ramp
primary
#764DC2
secondary
#BDCF9C
accent
#D94FA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83