#674FCB#674FCB
#674FCB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.184 H 287.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #674FCB |
|---|---|
| RGB | rgb(103, 79, 203) |
| HSL | hsl(252, 54%, 55%) |
| HSV | hsv(252, 61%, 80%) |
| CMYK | cmyk(49.3%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.44, 41.31, -61.32) |
| CIE-LCH | lch(42.44, 73.93, 303.97°) |
| OKLab | oklab(52.12% 0.054 -0.1755) |
| OKLCH | oklch(52.12% 0.184 287.1) |
| XYZ | xyz(19.1658, 12.7864, 57.9465) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.11
Slate Blue
#6A5ACD
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 3.34
Bluey Purple
#6241C7
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 4.96
Purpleish Blue
#6140EF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FCB #B3CB4F
analogous
#4F75CB #674FCB #A54FCB
triadic
#674FCB #CB674F #4FCB67
tetradic
#674FCB #CB4F75 #B3CB4F #4FCBA5
square
#674FCB #CB4F75 #B3CB4F #4FCBA5
split-complementary
#674FCB #CBA54F #75CB4F
monochromatic
#35247B #4A32AA #674FCB #907ED9 #B9ADE7
Accessibility & contrast
On white
5.90
#674FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#674FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FCB
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FCB | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#446C85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #674fcb; /* rgb */ color: rgb(103, 79, 203); /* oklch */ color: oklch(52.1% 0.184 287.1);
Tailwind
colors: {
custom: {
50: '#9a81dc',
500: '#674fcb',
950: '#000000',
},
}SCSS
$custom: #674fcb; $custom-light: #9a81dc; $custom-dark: #000000;
JSON
{
"hex": "#674fcb",
"rgb": {
"r": 103,
"g": 79,
"b": 203
},
"hsl": {
"h": 251.613,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.52118,
"c": 0.18365,
"h": 287.1
},
"luminance": 0.12787
}Semantic roles & 50–950 ramp
primary
#674FCB
secondary
#CBD5A1
accent
#DE4AC1
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83