#6949CF#6949CF
#6949CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.196 H 288.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6949CF |
|---|---|
| RGB | rgb(105, 73, 207) |
| HSL | hsl(254, 58%, 55%) |
| HSV | hsv(254, 65%, 81%) |
| CMYK | cmyk(49.3%, 64.7%, 0%, 18.8%) |
| CIE-LAB | lab(41.65, 46.26, -64.91) |
| CIE-LCH | lch(41.65, 79.70, 305.48°) |
| OKLab | oklab(51.68% 0.0625 -0.186) |
| OKLCH | oklch(51.68% 0.196 288.6) |
| XYZ | xyz(19.4675, 12.2725, 60.3625) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.60
Bluish Purple
#703BE7
ΔE00 4.05
Purpleish Blue
#6140EF
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 4.76
Slate Blue
#6A5ACD
ΔE00 4.77
Iris
#6258C4
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6949CF #AFCF49
analogous
#496CCF #6949CF #AC49CF
triadic
#6949CF #CF6949 #49CF69
tetradic
#6949CF #CF496C #AFCF49 #49CFAC
square
#6949CF #CF496C #AFCF49 #49CFAC
split-complementary
#6949CF #CFAC49 #6CCF49
monochromatic
#37217D #4C2EAD #6949CF #9179DC #B9AAE9
Accessibility & contrast
On white
6.08
#6949CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#6949CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6949CF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6949CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6949CF | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#466A85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6949cf; /* rgb */ color: rgb(105, 73, 207); /* oklch */ color: oklch(51.7% 0.196 288.6);
Tailwind
colors: {
custom: {
50: '#9c7edf',
500: '#6949cf',
950: '#000000',
},
}SCSS
$custom: #6949cf; $custom-light: #9c7edf; $custom-dark: #000000;
JSON
{
"hex": "#6949cf",
"rgb": {
"r": 105,
"g": 73,
"b": 207
},
"hsl": {
"h": 254.328,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.51679,
"c": 0.19624,
"h": 288.6
},
"luminance": 0.12273
}Semantic roles & 50–950 ramp
primary
#6949CF
secondary
#C9D69E
accent
#E146BC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83