#674FB8#674FB8
#674FB8 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.159 H 290.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #674FB8 |
|---|---|
| RGB | rgb(103, 79, 184) |
| HSL | hsl(254, 43%, 52%) |
| HSV | hsv(254, 57%, 72%) |
| CMYK | cmyk(44%, 57.1%, 0%, 27.8%) |
| CIE-LAB | lab(41.11, 35.75, -52.40) |
| CIE-LCH | lch(41.11, 63.44, 304.30°) |
| OKLab | oklab(50.72% 0.0546 -0.1493) |
| OKLCH | oklch(50.72% 0.159 290.1) |
| XYZ | xyz(17.0388, 11.9356, 46.7442) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.64
Bluey Purple
#6241C7
ΔE00 4.41
Slate Blue
#6A5ACD
ΔE00 4.57
Light Indigo
#6D5ACF
ΔE00 4.79
Royal Purple
#7851A9
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FB8 #A0B84F
analogous
#4F6CB8 #674FB8 #9C4FB8
triadic
#674FB8 #B8674F #4FB867
tetradic
#674FB8 #B84F6C #A0B84F #4FB89C
square
#674FB8 #B84F6C #A0B84F #4FB89C
split-complementary
#674FB8 #B89C4F #6CB84F
monochromatic
#362864 #4E3A90 #674FB8 #8D7BCA #B2A6DB
Accessibility & contrast
On white
6.20
#674FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#674FB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FB8
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FB8 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F63BC
Deuteranopia (green-blind)
#165FB6
Tritanopia (blue-blind)
#4F667C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #674fb8; /* rgb */ color: rgb(103, 79, 184); /* oklch */ color: oklch(50.7% 0.159 290.1);
Tailwind
colors: {
custom: {
50: '#9881ce',
500: '#674fb8',
950: '#000000',
},
}SCSS
$custom: #674fb8; $custom-light: #9881ce; $custom-dark: #000000;
JSON
{
"hex": "#674fb8",
"rgb": {
"r": 103,
"g": 79,
"b": 184
},
"hsl": {
"h": 253.714,
"s": 42.51,
"l": 51.569
},
"oklch": {
"l": 0.50724,
"c": 0.15897,
"h": 290.1
},
"luminance": 0.11936
}Semantic roles & 50–950 ramp
primary
#674FB8
secondary
#BEC89A
accent
#D256B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82