#674FC7#674FC7
#674FC7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.179 H 287.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #674FC7 |
|---|---|
| RGB | rgb(103, 79, 199) |
| HSL | hsl(252, 52%, 55%) |
| HSV | hsv(252, 60%, 78%) |
| CMYK | cmyk(48.2%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(42.15, 40.13, -59.47) |
| CIE-LCH | lch(42.15, 71.74, 304.01°) |
| OKLab | oklab(51.82% 0.0542 -0.1701) |
| OKLCH | oklch(51.82% 0.179 287.7) |
| XYZ | xyz(18.6953, 12.5982, 55.4684) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.01
Slate Blue
#6A5ACD
ΔE00 3.37
Light Indigo
#6D5ACF
ΔE00 3.51
Bluey Purple
#6241C7
ΔE00 3.72
Dark Periwinkle
#665FD1
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FC7 #AFC74F
analogous
#4F73C7 #674FC7 #A34FC7
triadic
#674FC7 #C7674F #4FC767
tetradic
#674FC7 #C74F73 #AFC74F #4FC7A3
square
#674FC7 #C74F73 #AFC74F #4FC7A3
split-complementary
#674FC7 #C7A34F #73C74F
monochromatic
#362676 #4B34A4 #674FC7 #8F7DD6 #B7ACE5
Accessibility & contrast
On white
5.97
#674FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#674FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FC7
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FC7 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#476B83
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674fc7; /* rgb */ color: rgb(103, 79, 199); /* oklch */ color: oklch(51.8% 0.179 287.7);
Tailwind
colors: {
custom: {
50: '#9981d9',
500: '#674fc7',
950: '#000000',
},
}SCSS
$custom: #674fc7; $custom-light: #9981d9; $custom-dark: #000000;
JSON
{
"hex": "#674fc7",
"rgb": {
"r": 103,
"g": 79,
"b": 199
},
"hsl": {
"h": 252,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.51816,
"c": 0.17853,
"h": 287.7
},
"luminance": 0.12599
}Semantic roles & 50–950 ramp
primary
#674FC7
secondary
#C8D2A0
accent
#DB4DBF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83