#772ECF#772ECF
#772ECF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.227 H 298.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #772ECF |
|---|---|
| RGB | rgb(119, 46, 207) |
| HSL | hsl(267, 64%, 50%) |
| HSV | hsv(267, 78%, 81%) |
| CMYK | cmyk(42.5%, 77.8%, 0%, 18.8%) |
| CIE-LAB | lab(38.52, 61.63, -69.95) |
| CIE-LCH | lch(38.52, 93.23, 311.38°) |
| OKLab | oklab(49.81% 0.1065 -0.2002) |
| OKLCH | oklch(49.81% 0.227 298) |
| XYZ | xyz(19.8443, 10.3806, 59.9775) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 3.51
Blueviolet
#8A2BE2
ΔE00 3.83
Bluish Purple
#703BE7
ΔE00 4.36
Purple Blue
#5D21D0
ΔE00 4.62
Purply Blue
#661AEE
ΔE00 4.68
Purpley Blue
#5F34E7
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#772ECF #86CF2E
analogous
#2E36CF #772ECF #C82ECF
triadic
#772ECF #CF772E #2ECF77
tetradic
#772ECF #CF2E36 #86CF2E #2ECFC8
square
#772ECF #CF2E36 #86CF2E #2ECFC8
split-complementary
#772ECF #CFC82E #36CF2E
monochromatic
#3D186B #5A239D #772ECF #975FDB #B891E7
Accessibility & contrast
On white
6.83
#772ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#772ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #772ECF
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##772ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##772ECF | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#605A7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #772ecf; /* rgb */ color: rgb(119, 46, 207); /* oklch */ color: oklch(49.8% 0.227 298.0);
Tailwind
colors: {
custom: {
50: '#a66fdf',
500: '#772ecf',
950: '#000000',
},
}SCSS
$custom: #772ecf; $custom-light: #a66fdf; $custom-dark: #000000;
JSON
{
"hex": "#772ecf",
"rgb": {
"r": 119,
"g": 46,
"b": 207
},
"hsl": {
"h": 267.205,
"s": 63.636,
"l": 49.608
},
"oklch": {
"l": 0.49805,
"c": 0.2268,
"h": 298
},
"luminance": 0.10381
}Semantic roles & 50–950 ramp
primary
#772ECF
secondary
#B0D188
accent
#E7419C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83