#674CD2#674CD2
#674CD2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.196 H 286.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #674CD2 |
|---|---|
| RGB | rgb(103, 76, 210) |
| HSL | hsl(252, 60%, 56%) |
| HSV | hsv(252, 64%, 82%) |
| CMYK | cmyk(51%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(42.31, 45.08, -65.56) |
| CIE-LCH | lch(42.31, 79.56, 304.52°) |
| OKLab | oklab(52.19% 0.0565 -0.188) |
| OKLCH | oklch(52.19% 0.196 286.7) |
| XYZ | xyz(19.8074, 12.7046, 62.3688) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 4.01
Light Indigo
#6D5ACF
ΔE00 4.02
Iris
#6258C4
ΔE00 4.14
Purpleish Blue
#6140EF
ΔE00 4.24
Bluish Purple
#703BE7
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CD2 #B7D24C
analogous
#4C74D2 #674CD2 #AA4CD2
triadic
#674CD2 #D2674C #4CD267
tetradic
#674CD2 #D24C74 #B7D24C #4CD2AA
square
#674CD2 #D24C74 #B7D24C #4CD2AA
split-complementary
#674CD2 #D2AA4C #74D24C
monochromatic
#352183 #482DB4 #674CD2 #917DDE #BAAEEB
Accessibility & contrast
On white
5.93
#674CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#674CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CD2
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CD2 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#3F6D88
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #674cd2; /* rgb */ color: rgb(103, 76, 210); /* oklch */ color: oklch(52.2% 0.196 286.7);
Tailwind
colors: {
custom: {
50: '#9b7fe1',
500: '#674cd2',
950: '#000000',
},
}SCSS
$custom: #674cd2; $custom-light: #9b7fe1; $custom-dark: #000000;
JSON
{
"hex": "#674cd2",
"rgb": {
"r": 103,
"g": 76,
"b": 210
},
"hsl": {
"h": 252.09,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.52191,
"c": 0.19631,
"h": 286.7
},
"luminance": 0.12706
}Semantic roles & 50–950 ramp
primary
#674CD2
secondary
#CDD9A1
accent
#E345C3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83