#674FC5#674FC5
#674FC5 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.176 H 288.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #674FC5 |
|---|---|
| RGB | rgb(103, 79, 197) |
| HSL | hsl(252, 50%, 54%) |
| HSV | hsv(252, 60%, 77%) |
| CMYK | cmyk(47.7%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(42.01, 39.54, -58.54) |
| CIE-LCH | lch(42.01, 70.64, 304.04°) |
| OKLab | oklab(51.67% 0.0543 -0.1674) |
| OKLCH | oklch(51.67% 0.176 288) |
| XYZ | xyz(18.4646, 12.5060, 54.2535) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FC5 #ADC54F
analogous
#4F72C5 #674FC5 #A24FC5
triadic
#674FC5 #C5674F #4FC567
tetradic
#674FC5 #C54F72 #ADC54F #4FC5A2
square
#674FC5 #C54F72 #ADC54F #4FC5A2
split-complementary
#674FC5 #C5A24F #72C54F
monochromatic
#362674 #4B35A2 #674FC5 #8F7DD4 #B7ABE3
Accessibility & contrast
On white
6.00
#674FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#674FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FC5
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FC5 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#486A82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674fc5; /* rgb */ color: rgb(103, 79, 197); /* oklch */ color: oklch(51.7% 0.176 288.0);
Tailwind
colors: {
custom: {
50: '#9981d7',
500: '#674fc5',
950: '#000000',
},
}SCSS
$custom: #674fc5; $custom-light: #9981d7; $custom-dark: #000000;
JSON
{
"hex": "#674fc5",
"rgb": {
"r": 103,
"g": 79,
"b": 197
},
"hsl": {
"h": 252.203,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.51667,
"c": 0.17596,
"h": 288
},
"luminance": 0.12507
}Semantic roles & 50–950 ramp
primary
#674FC5
secondary
#C7D19F
accent
#DA4EBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83