#674CE2#674CE2
#674CE2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.216 H 284.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #674CE2 |
|---|---|
| RGB | rgb(103, 76, 226) |
| HSL | hsl(251, 72%, 59%) |
| HSV | hsv(251, 66%, 89%) |
| CMYK | cmyk(54.4%, 66.4%, 0%, 11.4%) |
| CIE-LAB | lab(43.57, 49.77, -72.66) |
| CIE-LCH | lch(43.57, 88.07, 304.41°) |
| OKLab | oklab(53.49% 0.0546 -0.2088) |
| OKLCH | oklch(53.49% 0.216 284.7) |
| XYZ | xyz(21.9013, 13.5422, 73.3966) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.94
Bluish Purple
#703BE7
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 4.50
Slate Blue
#6A5ACD
ΔE00 4.62
Bluey Purple
#6241C7
ΔE00 4.90
Purpley Blue
#5F34E7
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CE2 #C7E24C
analogous
#4C7CE2 #674CE2 #B24CE2
triadic
#674CE2 #E2674C #4CE267
tetradic
#674CE2 #E24C7C #C7E24C #4CE2B2
square
#674CE2 #E24C7C #C7E24C #4CE2B2
split-complementary
#674CE2 #E2B24C #7CE24C
monochromatic
#30199B #4122CF #674CE2 #9481EB #C0B5F3
Accessibility & contrast
On white
5.66
#674CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#674CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CE2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CE2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#2F7291
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #674ce2; /* rgb */ color: rgb(103, 76, 226); /* oklch */ color: oklch(53.5% 0.216 284.7);
Tailwind
colors: {
custom: {
50: '#9d80ec',
500: '#674ce2',
950: '#000000',
},
}SCSS
$custom: #674ce2; $custom-light: #9d80ec; $custom-dark: #000000;
JSON
{
"hex": "#674ce2",
"rgb": {
"r": 103,
"g": 76,
"b": 226
},
"hsl": {
"h": 250.8,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.53488,
"c": 0.21588,
"h": 284.7
},
"luminance": 0.13543
}Semantic roles & 50–950 ramp
primary
#674CE2
secondary
#D8E2A8
accent
#EF39CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84