#674FCC#674FCC
#674FCC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.185 H 287.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #674FCC |
|---|---|
| RGB | rgb(103, 79, 204) |
| HSL | hsl(252, 55%, 55%) |
| HSV | hsv(252, 61%, 80%) |
| CMYK | cmyk(49.5%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(42.51, 41.60, -61.78) |
| CIE-LCH | lch(42.51, 74.48, 303.96°) |
| OKLab | oklab(52.19% 0.054 -0.1769) |
| OKLCH | oklch(52.19% 0.185 287) |
| XYZ | xyz(19.2854, 12.8343, 58.5761) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 3.22
Light Indigo
#6D5ACF
ΔE00 3.32
Bluey Purple
#6241C7
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.93
Purpleish Blue
#6140EF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FCC #B4CC4F
analogous
#4F75CC #674FCC #A54FCC
triadic
#674FCC #CC674F #4FCC67
tetradic
#674FCC #CC4F75 #B4CC4F #4FCCA5
square
#674FCC #CC4F75 #B4CC4F #4FCCA5
split-complementary
#674FCC #CCA54F #75CC4F
monochromatic
#35247D #4932AC #674FCC #907EDA #B9AEE7
Accessibility & contrast
On white
5.89
#674FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#674FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FCC
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FCC | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#436C86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #674fcc; /* rgb */ color: rgb(103, 79, 204); /* oklch */ color: oklch(52.2% 0.185 287.0);
Tailwind
colors: {
custom: {
50: '#9a81dc',
500: '#674fcc',
950: '#000000',
},
}SCSS
$custom: #674fcc; $custom-light: #9a81dc; $custom-dark: #000000;
JSON
{
"hex": "#674fcc",
"rgb": {
"r": 103,
"g": 79,
"b": 204
},
"hsl": {
"h": 251.52,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.52194,
"c": 0.18493,
"h": 287
},
"luminance": 0.12835
}Semantic roles & 50–950 ramp
primary
#674FCC
secondary
#CBD5A1
accent
#DE49C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83