#674FB7#674FB7
#674FB7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.158 H 290.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #674FB7 |
|---|---|
| RGB | rgb(103, 79, 183) |
| HSL | hsl(254, 42%, 51%) |
| HSV | hsv(254, 57%, 72%) |
| CMYK | cmyk(43.7%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(41.05, 35.46, -51.92) |
| CIE-LCH | lch(41.05, 62.88, 304.33°) |
| OKLab | oklab(50.65% 0.0546 -0.1479) |
| OKLCH | oklch(50.65% 0.158 290.3) |
| XYZ | xyz(16.9344, 11.8939, 46.1941) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 4.50
Slate Blue
#6A5ACD
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 4.91
Royal Purple
#7851A9
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FB7 #9FB74F
analogous
#4F6BB7 #674FB7 #9B4FB7
triadic
#674FB7 #B7674F #4FB767
tetradic
#674FB7 #B74F6B #9FB74F #4FB79B
square
#674FB7 #B74F6B #9FB74F #4FB79B
split-complementary
#674FB7 #B79B4F #6BB74F
monochromatic
#362963 #4E3A8F #674FB7 #8D7AC9 #B2A6DB
Accessibility & contrast
On white
6.22
#674FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#674FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FB7
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FB7 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1263BA
Deuteranopia (green-blind)
#185EB5
Tritanopia (blue-blind)
#50667B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #674fb7; /* rgb */ color: rgb(103, 79, 183); /* oklch */ color: oklch(50.7% 0.158 290.3);
Tailwind
colors: {
custom: {
50: '#9881cd',
500: '#674fb7',
950: '#000000',
},
}SCSS
$custom: #674fb7; $custom-light: #9881cd; $custom-dark: #000000;
JSON
{
"hex": "#674fb7",
"rgb": {
"r": 103,
"g": 79,
"b": 183
},
"hsl": {
"h": 253.846,
"s": 41.935,
"l": 51.373
},
"oklch": {
"l": 0.50653,
"c": 0.15765,
"h": 290.3
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#674FB7
secondary
#BDC89A
accent
#D256B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82