#674CA7#674CA7
#674CA7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.141 H 294.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #674CA7 |
|---|---|
| RGB | rgb(103, 76, 167) |
| HSL | hsl(258, 37%, 48%) |
| HSV | hsv(258, 54%, 65%) |
| CMYK | cmyk(38.3%, 54.5%, 0%, 34.5%) |
| CIE-LAB | lab(39.31, 32.69, -45.25) |
| CIE-LCH | lch(39.31, 55.82, 305.84°) |
| OKLab | oklab(49.04% 0.0579 -0.1283) |
| OKLCH | oklch(49.04% 0.141 294.3) |
| XYZ | xyz(15.1512, 10.8421, 37.8462) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.85
Ocean Blue
#4F42B5
ΔE00 5.86
Bluey Purple
#6241C7
ΔE00 6.04
Iris
#6258C4
ΔE00 6.24
Blueberry
#464196
ΔE00 6.88
Rebeccapurple
#663399
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CA7 #8CA74C
analogous
#4C5EA7 #674CA7 #944CA7
triadic
#674CA7 #A7674C #4CA767
tetradic
#674CA7 #A74C5E #8CA74C #4CA794
square
#674CA7 #A74C5E #8CA74C #4CA794
split-complementary
#674CA7 #A7944C #5EA74C
monochromatic
#332653 #4D397D #674CA7 #8872BF #AC9CD2
Accessibility & contrast
On white
6.63
#674CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#674CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CA7
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CA7 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245EAA
Deuteranopia (green-blind)
#2B5BA5
Tritanopia (blue-blind)
#575F72
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #674ca7; /* rgb */ color: rgb(103, 76, 167); /* oklch */ color: oklch(49.0% 0.141 294.3);
Tailwind
colors: {
custom: {
50: '#967fc2',
500: '#674ca7',
950: '#000000',
},
}SCSS
$custom: #674ca7; $custom-light: #967fc2; $custom-dark: #000000;
JSON
{
"hex": "#674ca7",
"rgb": {
"r": 103,
"g": 76,
"b": 167
},
"hsl": {
"h": 257.802,
"s": 37.449,
"l": 47.647
},
"oklch": {
"l": 0.49039,
"c": 0.14077,
"h": 294.3
},
"luminance": 0.10842
}Semantic roles & 50–950 ramp
primary
#674CA7
secondary
#B1BE90
accent
#CD5AAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81