#674CCF#674CCF
#674CCF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.193 H 287.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #674CCF |
|---|---|
| RGB | rgb(103, 76, 207) |
| HSL | hsl(252, 58%, 55%) |
| HSV | hsv(252, 63%, 81%) |
| CMYK | cmyk(50.2%, 63.3%, 0%, 18.8%) |
| CIE-LAB | lab(42.09, 44.20, -64.20) |
| CIE-LCH | lch(42.09, 77.94, 304.55°) |
| OKLab | oklab(51.95% 0.0568 -0.184) |
| OKLCH | oklch(51.95% 0.193 287.2) |
| XYZ | xyz(19.4371, 12.5565, 60.4189) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.18
Iris
#6258C4
ΔE00 4.00
Slate Blue
#6A5ACD
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.04
Purpleish Blue
#6140EF
ΔE00 4.57
Bluish Purple
#703BE7
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674CCF #B4CF4C
analogous
#4C73CF #674CCF #A84CCF
triadic
#674CCF #CF674C #4CCF67
tetradic
#674CCF #CF4C73 #B4CF4C #4CCFA8
square
#674CCF #CF4C73 #B4CF4C #4CCFA8
split-complementary
#674CCF #CFA84C #73CF4C
monochromatic
#35227F #492FAF #674CCF #907CDC #B9ADE9
Accessibility & contrast
On white
5.98
#674CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#674CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674CCF
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674CCF | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#416C86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #674ccf; /* rgb */ color: rgb(103, 76, 207); /* oklch */ color: oklch(52.0% 0.193 287.2);
Tailwind
colors: {
custom: {
50: '#9b7fdf',
500: '#674ccf',
950: '#000000',
},
}SCSS
$custom: #674ccf; $custom-light: #9b7fdf; $custom-dark: #000000;
JSON
{
"hex": "#674ccf",
"rgb": {
"r": 103,
"g": 76,
"b": 207
},
"hsl": {
"h": 252.366,
"s": 57.709,
"l": 55.49
},
"oklch": {
"l": 0.51954,
"c": 0.19257,
"h": 287.2
},
"luminance": 0.12557
}Semantic roles & 50–950 ramp
primary
#674CCF
secondary
#CBD7A0
accent
#E147C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83