#674FCE#674FCE
#674FCE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.187 H 286.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #674FCE |
|---|---|
| RGB | rgb(103, 79, 206) |
| HSL | hsl(251, 56%, 56%) |
| HSV | hsv(251, 62%, 81%) |
| CMYK | cmyk(50%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(42.66, 42.19, -62.69) |
| CIE-LCH | lch(42.66, 75.57, 303.94°) |
| OKLab | oklab(52.35% 0.0538 -0.1796) |
| OKLCH | oklch(52.35% 0.187 286.7) |
| XYZ | xyz(19.5268, 12.9308, 59.8476) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.20
Iris
#6258C4
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 3.28
Bluey Purple
#6241C7
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.87
Purpleish Blue
#6140EF
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FCE #B6CE4F
analogous
#4F76CE #674FCE #A64FCE
triadic
#674FCE #CE674F #4FCE67
tetradic
#674FCE #CE4F76 #B6CE4F #4FCEA6
square
#674FCE #CE4F76 #B6CE4F #4FCEA6
split-complementary
#674FCE #CEA64F #76CE4F
monochromatic
#35237F #4931AF #674FCE #907FDB #BAAFE9
Accessibility & contrast
On white
5.86
#674FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#674FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FCE
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FCE | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#426D87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #674fce; /* rgb */ color: rgb(103, 79, 206); /* oklch */ color: oklch(52.3% 0.187 286.7);
Tailwind
colors: {
custom: {
50: '#9a81de',
500: '#674fce',
950: '#000000',
},
}SCSS
$custom: #674fce; $custom-light: #9a81de; $custom-dark: #000000;
JSON
{
"hex": "#674fce",
"rgb": {
"r": 103,
"g": 79,
"b": 206
},
"hsl": {
"h": 251.339,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.52347,
"c": 0.18747,
"h": 286.7
},
"luminance": 0.12932
}Semantic roles & 50–950 ramp
primary
#674FCE
secondary
#CDD7A2
accent
#E048C3
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83