#764CF2#764CF2
#764CF2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.234 H 288.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #764CF2 |
|---|---|
| RGB | rgb(118, 76, 242) |
| HSL | hsl(255, 86%, 62%) |
| HSV | hsv(255, 69%, 95%) |
| CMYK | cmyk(51.2%, 68.6%, 0%, 5.1%) |
| CIE-LAB | lab(46.22, 56.72, -77.31) |
| CIE-LCH | lch(46.22, 95.88, 306.27°) |
| OKLab | oklab(56.11% 0.0723 -0.222) |
| OKLCH | oklch(56.11% 0.234 288) |
| XYZ | xyz(26.0780, 15.4300, 85.5914) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.09
Purpleish Blue
#6140EF
ΔE00 4.27
Bluish Purple
#703BE7
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 5.73
Slate Blue
#6A5ACD
ΔE00 6.14
Burple
#6832E3
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#764CF2 #C8F24C
analogous
#4C75F2 #764CF2 #C94CF2
triadic
#764CF2 #F2764C #4CF276
tetradic
#764CF2 #F24C75 #C8F24C #4CF2C9
square
#764CF2 #F24C75 #C8F24C #4CF2C9
split-complementary
#764CF2 #F2C94C #75F24C
monochromatic
#380DB6 #4A13EE #764CF2 #A285F6 #CDBEFA
Accessibility & contrast
On white
5.14
#764CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#764CF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #764CF2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##764CF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##764CF2 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#477799
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #764cf2; /* rgb */ color: rgb(118, 76, 242); /* oklch */ color: oklch(56.1% 0.234 288.0);
Tailwind
colors: {
custom: {
50: '#a881f8',
500: '#764cf2',
950: '#000000',
},
}SCSS
$custom: #764cf2; $custom-light: #a881f8; $custom-dark: #000000;
JSON
{
"hex": "#764cf2",
"rgb": {
"r": 118,
"g": 76,
"b": 242
},
"hsl": {
"h": 255.181,
"s": 86.458,
"l": 62.353
},
"oklch": {
"l": 0.56114,
"c": 0.23352,
"h": 288
},
"luminance": 0.15431
}Semantic roles & 50–950 ramp
primary
#764CF2
secondary
#DCEBAF
accent
#E303AA
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85