#674FD2#674FD2
#674FD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.193 H 286.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #674FD2 |
|---|---|
| RGB | rgb(103, 79, 210) |
| HSL | hsl(251, 59%, 57%) |
| HSV | hsv(251, 62%, 82%) |
| CMYK | cmyk(51%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(42.95, 43.37, -64.51) |
| CIE-LCH | lch(42.95, 77.74, 303.91°) |
| OKLab | oklab(52.66% 0.0536 -0.1849) |
| OKLCH | oklch(52.66% 0.193 286.2) |
| XYZ | xyz(20.0189, 13.1277, 62.4393) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.23
Light Indigo
#6D5ACF
ΔE00 3.26
Iris
#6258C4
ΔE00 3.49
Bluey Purple
#6241C7
ΔE00 4.10
Purpleish Blue
#6140EF
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#674FD2 #BAD24F
analogous
#4F79D2 #674FD2 #A84FD2
triadic
#674FD2 #D2674F #4FD267
tetradic
#674FD2 #D24F79 #BAD24F #4FD2A8
square
#674FD2 #D24F79 #BAD24F #4FD2A8
split-complementary
#674FD2 #D2A84F #79D24F
monochromatic
#342285 #472EB5 #674FD2 #9180DE #BBB0EB
Accessibility & contrast
On white
5.79
#674FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#674FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #674FD2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##674FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##674FD2 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#3F6E89
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #674fd2; /* rgb */ color: rgb(103, 79, 210); /* oklch */ color: oklch(52.7% 0.193 286.2);
Tailwind
colors: {
custom: {
50: '#9b81e1',
500: '#674fd2',
950: '#000000',
},
}SCSS
$custom: #674fd2; $custom-light: #9b81e1; $custom-dark: #000000;
JSON
{
"hex": "#674fd2",
"rgb": {
"r": 103,
"g": 79,
"b": 210
},
"hsl": {
"h": 250.992,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.52656,
"c": 0.19252,
"h": 286.2
},
"luminance": 0.13129
}Semantic roles & 50–950 ramp
primary
#674FD2
secondary
#CFD9A4
accent
#E245C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83