#674CBD#674CBD
#674CBD is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.170 H 290.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #674CBD |
|---|---|
| RGB | rgb(103, 76, 189) |
| HSL | hsl(254, 46%, 52%) |
| HSV | hsv(254, 60%, 74%) |
| CMYK | cmyk(45.5%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.78, 38.96, -55.87) |
| CIE-LCH | lch(40.78, 68.12, 304.89°) |
| OKLab | oklab(50.59% 0.058 -0.1595) |
| OKLCH | oklch(50.59% 0.17 290) |
| XYZ | xyz(17.3607, 11.7259, 49.4829) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.28
Iris
#6258C4
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 4.79
Light Indigo
#6D5ACF
ΔE00 4.93
Blue With A Hint Of Purple
#533CC6
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CBD #A2BD4C
analogous
#4C6ABD #674CBD #9F4CBD
triadic
#674CBD #BD674C #4CBD67
tetradic
#674CBD #BD4C6A #A2BD4C #4CBD9F
square
#674CBD #BD4C6A #A2BD4C #4CBD9F
split-complementary
#674CBD #BD9F4C #6ABD4C
monochromatic
#362668 #4D3795 #674CBD #8D79CD #B3A5DE
Accessibility & contrast
On white
6.28
#674CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#674CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CBD
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CBD | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#4D667D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #674cbd; /* rgb */ color: rgb(103, 76, 189); /* oklch */ color: oklch(50.6% 0.170 290.0);
Tailwind
colors: {
custom: {
50: '#987fd2',
500: '#674cbd',
950: '#000000',
},
}SCSS
$custom: #674cbd; $custom-light: #987fd2; $custom-dark: #000000;
JSON
{
"hex": "#674cbd",
"rgb": {
"r": 103,
"g": 76,
"b": 189
},
"hsl": {
"h": 254.336,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.50585,
"c": 0.16973,
"h": 290
},
"luminance": 0.11727
}Semantic roles & 50–950 ramp
primary
#674CBD
secondary
#BFCB9A
accent
#D652B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83