#6950CF#6950CF
#6950CF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.8% C 0.187 H 287.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6950CF |
|---|---|
| RGB | rgb(105, 80, 207) |
| HSL | hsl(252, 57%, 56%) |
| HSV | hsv(252, 61%, 81%) |
| CMYK | cmyk(49.3%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(43.13, 42.30, -62.50) |
| CIE-LCH | lch(43.13, 75.46, 304.09°) |
| OKLab | oklab(52.76% 0.0554 -0.1789) |
| OKLCH | oklch(52.76% 0.187 287.2) |
| XYZ | xyz(19.9535, 13.2447, 60.5245) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.91
Light Indigo
#6D5ACF
ΔE00 2.93
Iris
#6258C4
ΔE00 3.21
Bluey Purple
#6241C7
ΔE00 4.24
Dark Periwinkle
#665FD1
ΔE00 4.63
Purpleish Blue
#6140EF
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6950CF #B6CF50
analogous
#5077CF #6950CF #A950CF
triadic
#6950CF #CF6950 #50CF69
tetradic
#6950CF #CF5077 #B6CF50 #50CFA9
square
#6950CF #CF5077 #B6CF50 #50CFA9
split-complementary
#6950CF #CFA950 #77CF50
monochromatic
#362381 #4A31B1 #6950CF #9280DC #BBB0E9
Accessibility & contrast
On white
5.75
#6950CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#6950CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6950CF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6950CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6950CF | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#456E88
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6950cf; /* rgb */ color: rgb(105, 80, 207); /* oklch */ color: oklch(52.8% 0.187 287.2);
Tailwind
colors: {
custom: {
50: '#9c82df',
500: '#6950cf',
950: '#000000',
},
}SCSS
$custom: #6950cf; $custom-light: #9c82df; $custom-dark: #000000;
JSON
{
"hex": "#6950cf",
"rgb": {
"r": 105,
"g": 80,
"b": 207
},
"hsl": {
"h": 251.811,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.52757,
"c": 0.1873,
"h": 287.2
},
"luminance": 0.13246
}Semantic roles & 50–950 ramp
primary
#6950CF
secondary
#CDD8A3
accent
#E048C2
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83