#674CCB#674CCB
#674CCB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.188 H 287.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #674CCB |
|---|---|
| RGB | rgb(103, 76, 203) |
| HSL | hsl(253, 55%, 55%) |
| HSV | hsv(253, 63%, 80%) |
| CMYK | cmyk(49.3%, 62.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.79, 43.03, -62.38) |
| CIE-LCH | lch(41.79, 75.78, 304.60°) |
| OKLab | oklab(51.64% 0.0572 -0.1786) |
| OKLCH | oklch(51.64% 0.188 287.7) |
| XYZ | xyz(18.9543, 12.3634, 57.8760) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.99
Iris
#6258C4
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 4.05
Light Indigo
#6D5ACF
ΔE00 4.12
Bluish Purple
#703BE7
ΔE00 5.01
Purpleish Blue
#6140EF
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CCB #B0CB4C
analogous
#4C71CB #674CCB #A74CCB
triadic
#674CCB #CB674C #4CCB67
tetradic
#674CCB #CB4C71 #B0CB4C #4CCBA7
square
#674CCB #CB4C71 #B0CB4C #4CCBA7
split-complementary
#674CCB #CBA74C #71CB4C
monochromatic
#362379 #4A31A9 #674CCB #8F7BD9 #B8ABE7
Accessibility & contrast
On white
6.05
#674CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#674CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CCB
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CCB | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#446A84
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674ccb; /* rgb */ color: rgb(103, 76, 203); /* oklch */ color: oklch(51.6% 0.188 287.7);
Tailwind
colors: {
custom: {
50: '#9a7fdc',
500: '#674ccb',
950: '#000000',
},
}SCSS
$custom: #674ccb; $custom-light: #9a7fdc; $custom-dark: #000000;
JSON
{
"hex": "#674ccb",
"rgb": {
"r": 103,
"g": 76,
"b": 203
},
"hsl": {
"h": 252.756,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.51643,
"c": 0.18756,
"h": 287.7
},
"luminance": 0.12364
}Semantic roles & 50–950 ramp
primary
#674CCB
secondary
#C9D49F
accent
#DE49BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83