#674CCC#674CCC
#674CCC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.189 H 287.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #674CCC |
|---|---|
| RGB | rgb(103, 76, 204) |
| HSL | hsl(253, 56%, 55%) |
| HSV | hsv(253, 63%, 80%) |
| CMYK | cmyk(49.5%, 62.7%, 0%, 20%) |
| CIE-LAB | lab(41.86, 43.33, -62.83) |
| CIE-LCH | lch(41.86, 76.32, 304.59°) |
| OKLab | oklab(51.72% 0.0571 -0.18) |
| OKLCH | oklch(51.72% 0.189 287.6) |
| XYZ | xyz(19.0739, 12.4112, 58.5056) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.03
Iris
#6258C4
ΔE00 3.89
Slate Blue
#6A5ACD
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.10
Bluish Purple
#703BE7
ΔE00 4.91
Purpleish Blue
#6140EF
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CCC #B1CC4C
analogous
#4C71CC #674CCC #A74CCC
triadic
#674CCC #CC674C #4CCC67
tetradic
#674CCC #CC4C71 #B1CC4C #4CCCA7
square
#674CCC #CC4C71 #B1CC4C #4CCCA7
split-complementary
#674CCC #CCA74C #71CC4C
monochromatic
#35237B #4A31AA #674CCC #8F7CDA #B8ABE7
Accessibility & contrast
On white
6.03
#674CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#674CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CCC
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CCC | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#436B85
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674ccc; /* rgb */ color: rgb(103, 76, 204); /* oklch */ color: oklch(51.7% 0.189 287.6);
Tailwind
colors: {
custom: {
50: '#9a7fdc',
500: '#674ccc',
950: '#000000',
},
}SCSS
$custom: #674ccc; $custom-light: #9a7fdc; $custom-dark: #000000;
JSON
{
"hex": "#674ccc",
"rgb": {
"r": 103,
"g": 76,
"b": 204
},
"hsl": {
"h": 252.656,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.5172,
"c": 0.18882,
"h": 287.6
},
"luminance": 0.12412
}Semantic roles & 50–950 ramp
primary
#674CCC
secondary
#C9D59F
accent
#DF49BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83