#674CC2#674CC2
#674CC2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.176 H 289.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #674CC2 |
|---|---|
| RGB | rgb(103, 76, 194) |
| HSL | hsl(254, 49%, 53%) |
| HSV | hsv(254, 61%, 76%) |
| CMYK | cmyk(46.9%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(41.13, 40.41, -58.22) |
| CIE-LCH | lch(41.13, 70.87, 304.77°) |
| OKLab | oklab(50.96% 0.0578 -0.1664) |
| OKLCH | oklch(50.96% 0.176 289.1) |
| XYZ | xyz(17.9128, 11.9468, 52.3906) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.00
Iris
#6258C4
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.42
Light Indigo
#6D5ACF
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CC2 #A7C24C
analogous
#4C6CC2 #674CC2 #A24CC2
triadic
#674CC2 #C2674C #4CC267
tetradic
#674CC2 #C24C6C #A7C24C #4CC2A2
square
#674CC2 #C24C6C #A7C24C #4CC2A2
split-complementary
#674CC2 #C2A24C #6CC24C
monochromatic
#36266E #4D359C #674CC2 #8E7AD2 #B5A7E1
Accessibility & contrast
On white
6.20
#674CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#674CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CC2
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CC2 | 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)
#0063C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#4A6780
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #674cc2; /* rgb */ color: rgb(103, 76, 194); /* oklch */ color: oklch(51.0% 0.176 289.1);
Tailwind
colors: {
custom: {
50: '#997fd5',
500: '#674cc2',
950: '#000000',
},
}SCSS
$custom: #674cc2; $custom-light: #997fd5; $custom-dark: #000000;
JSON
{
"hex": "#674cc2",
"rgb": {
"r": 103,
"g": 76,
"b": 194
},
"hsl": {
"h": 253.729,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.50957,
"c": 0.17616,
"h": 289.1
},
"luminance": 0.11947
}Semantic roles & 50–950 ramp
primary
#674CC2
secondary
#C3CE9B
accent
#D94FB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83