#674FC2#674FC2
#674FC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.172 H 288.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #674FC2 |
|---|---|
| RGB | rgb(103, 79, 194) |
| HSL | hsl(253, 49%, 54%) |
| HSV | hsv(253, 59%, 76%) |
| CMYK | cmyk(46.9%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(41.80, 38.66, -57.14) |
| CIE-LCH | lch(41.80, 68.99, 304.08°) |
| OKLab | oklab(51.44% 0.0544 -0.1632) |
| OKLCH | oklch(51.44% 0.172 288.4) |
| XYZ | xyz(18.1243, 12.3698, 52.4611) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.04
Slate Blue
#6A5ACD
ΔE00 3.65
Bluey Purple
#6241C7
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 3.84
Ocean Blue
#4F42B5
ΔE00 5.40
Dark Periwinkle
#665FD1
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FC2 #AAC24F
analogous
#4F70C2 #674FC2 #A04FC2
triadic
#674FC2 #C2674F #4FC267
tetradic
#674FC2 #C24F70 #AAC24F #4FC2A0
square
#674FC2 #C24F70 #AAC24F #4FC2A0
split-complementary
#674FC2 #C2A04F #70C24F
monochromatic
#362770 #4C379D #674FC2 #8E7CD2 #B6AAE2
Accessibility & contrast
On white
6.04
#674FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#674FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FC2
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FC2 | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#4A6981
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674fc2; /* rgb */ color: rgb(103, 79, 194); /* oklch */ color: oklch(51.4% 0.172 288.4);
Tailwind
colors: {
custom: {
50: '#9981d5',
500: '#674fc2',
950: '#000000',
},
}SCSS
$custom: #674fc2; $custom-light: #9981d5; $custom-dark: #000000;
JSON
{
"hex": "#674fc2",
"rgb": {
"r": 103,
"g": 79,
"b": 194
},
"hsl": {
"h": 252.522,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.51445,
"c": 0.17208,
"h": 288.4
},
"luminance": 0.12371
}Semantic roles & 50–950 ramp
primary
#674FC2
secondary
#C5CF9E
accent
#D850BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83