#774FC7#774FC7
#774FC7 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.179 H 295.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #774FC7 |
|---|---|
| RGB | rgb(119, 79, 199) |
| HSL | hsl(260, 52%, 55%) |
| HSV | hsv(260, 60%, 78%) |
| CMYK | cmyk(40.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(43.71, 43.51, -56.88) |
| CIE-LCH | lch(43.71, 71.61, 307.42°) |
| OKLab | oklab(53.32% 0.0755 -0.162) |
| OKLCH | oklch(53.32% 0.179 295) |
| XYZ | xyz(20.7098, 13.6370, 55.5628) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.36
Iris
#6258C4
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.11
Royal Purple
#7851A9
ΔE00 5.29
Purpley
#8756E4
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#774FC7 #9FC74F
analogous
#4F63C7 #774FC7 #B34FC7
triadic
#774FC7 #C7774F #4FC777
tetradic
#774FC7 #C74F63 #9FC74F #4FC7B3
square
#774FC7 #C74F63 #9FC74F #4FC7B3
split-complementary
#774FC7 #C7B34F #63C74F
monochromatic
#402676 #5A34A4 #774FC7 #9B7DD6 #BFACE5
Accessibility & contrast
On white
5.63
#774FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#774FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #774FC7
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##774FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##774FC7 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#0F65C4
Tritanopia (blue-blind)
#636983
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #774fc7; /* rgb */ color: rgb(119, 79, 199); /* oklch */ color: oklch(53.3% 0.179 295.0);
Tailwind
colors: {
custom: {
50: '#a382d9',
500: '#774fc7',
950: '#000000',
},
}SCSS
$custom: #774fc7; $custom-light: #a382d9; $custom-dark: #000000;
JSON
{
"hex": "#774fc7",
"rgb": {
"r": 119,
"g": 79,
"b": 199
},
"hsl": {
"h": 260,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.53323,
"c": 0.17868,
"h": 295
},
"luminance": 0.13637
}Semantic roles & 50–950 ramp
primary
#774FC7
secondary
#C1D2A0
accent
#DB4DAC
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83