#674CD3#674CD3
#674CD3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.198 H 286.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #674CD3 |
|---|---|
| RGB | rgb(103, 76, 211) |
| HSL | hsl(252, 61%, 56%) |
| HSV | hsv(252, 64%, 83%) |
| CMYK | cmyk(51.2%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(42.39, 45.37, -66.01) |
| CIE-LCH | lch(42.39, 80.10, 304.51°) |
| OKLab | oklab(52.27% 0.0564 -0.1893) |
| OKLCH | oklch(52.27% 0.198 286.6) |
| XYZ | xyz(19.9324, 12.7546, 63.0270) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.03
Purpleish Blue
#6140EF
ΔE00 4.13
Iris
#6258C4
ΔE00 4.20
Bluish Purple
#703BE7
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CD3 #B8D34C
analogous
#4C75D3 #674CD3 #AB4CD3
triadic
#674CD3 #D3674C #4CD367
tetradic
#674CD3 #D34C75 #B8D34C #4CD3AB
square
#674CD3 #D34C75 #B8D34C #4CD3AB
split-complementary
#674CD3 #D3AB4C #75D34C
monochromatic
#342084 #482DB5 #674CD3 #917DDF #BAAEEB
Accessibility & contrast
On white
5.91
#674CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#674CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CD3
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CD3 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#3E6D89
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #674cd3; /* rgb */ color: rgb(103, 76, 211); /* oklch */ color: oklch(52.3% 0.198 286.6);
Tailwind
colors: {
custom: {
50: '#9b7fe1',
500: '#674cd3',
950: '#000000',
},
}SCSS
$custom: #674cd3; $custom-light: #9b7fe1; $custom-dark: #000000;
JSON
{
"hex": "#674cd3",
"rgb": {
"r": 103,
"g": 76,
"b": 211
},
"hsl": {
"h": 252,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.5227,
"c": 0.19754,
"h": 286.6
},
"luminance": 0.12756
}Semantic roles & 50–950 ramp
primary
#674CD3
secondary
#CED9A2
accent
#E444C4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83